Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

any way to define multiple TCP ports? #70

Closed
daks opened this issue Aug 30, 2016 · 1 comment
Closed

any way to define multiple TCP ports? #70

daks opened this issue Aug 30, 2016 · 1 comment

Comments

@daks
Copy link
Member

daks commented Aug 30, 2016

Hi,

I wonder if there is anyway to define multiple ports for OpenSSH to listen to? I can't find how.
If it's not possible, do you think this option can be added?

Thanks.

@javierbertoli
Copy link
Member

Set a port's list in your pillar, and it will work. Something like this in pillars/openssh.sls will do:

sshd_config:
  Port: [ '22', '2222', '3333' ]

or

sshd_config:
  Port:
    - 22
    - 2222
    - 3333

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants