feat: add option to customize sshd port
This commit is contained in:
parent
efc4b023fb
commit
b60563a752
@ -1,5 +1,6 @@
|
||||
---
|
||||
sshd_protocol: 2
|
||||
sshd_port: 22
|
||||
sshd_permit_root_login: "yes"
|
||||
sshd_permit_empty_passwords: "no"
|
||||
sshd_password_authentication: "no"
|
||||
|
@ -15,7 +15,7 @@
|
||||
# SELinux about this change.
|
||||
# semanage port -a -t ssh_port_t -p tcp #PORTNUMBER
|
||||
#
|
||||
#Port 22
|
||||
Port {{ sshd_port }}
|
||||
#AddressFamily any
|
||||
#ListenAddress 0.0.0.0
|
||||
#ListenAddress ::
|
||||
|
Loading…
Reference in New Issue
Block a user