1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_sshd.git synced 2024-08-16 11:59:49 +02:00

allow different ssh port than 22

This commit is contained in:
maxbachmann 2019-04-14 15:01:00 +02:00
parent 8defb65464
commit 21e1ff6b9c
2 changed files with 4 additions and 1 deletions

View file

@ -1,4 +1,7 @@
--- ---
# set the ssh port
ssh_port: 22
# default users for SSH access # default users for SSH access
sshd_default_allowed_users: sshd_default_allowed_users:
- "root" - "root"

View file

@ -3,7 +3,7 @@
# Networking # Networking
Port 22 Port {{ ssh_port }}
TCPKeepAlive yes TCPKeepAlive yes