mirror of
https://github.com/roles-ansible/ansible_role_sshd.git
synced 2024-08-16 11:59:49 +02:00
Merge pull request #1 from maxbachmann-ansible/master
allow different ssh port than 22
This commit is contained in:
commit
bc10e502d5
2 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,7 @@
|
|||
---
|
||||
# set the ssh port
|
||||
ssh_port: 22
|
||||
|
||||
# default users for SSH access
|
||||
sshd_default_allowed_users:
|
||||
- "root"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
|
||||
# Networking
|
||||
Port 22
|
||||
Port {{ ssh_port }}
|
||||
|
||||
TCPKeepAlive yes
|
||||
|
||||
|
|
Loading…
Reference in a new issue