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:
parent
8defb65464
commit
21e1ff6b9c
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
|
# default users for SSH access
|
||||||
sshd_default_allowed_users:
|
sshd_default_allowed_users:
|
||||||
- "root"
|
- "root"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
|
|
||||||
# Networking
|
# Networking
|
||||||
Port 22
|
Port {{ ssh_port }}
|
||||||
|
|
||||||
TCPKeepAlive yes
|
TCPKeepAlive yes
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue