feat: add option to customize sshd port
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful

This commit is contained in:
Robert Kaussow 2024-09-16 09:32:50 +02:00
parent efc4b023fb
commit b60563a752
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
--- ---
sshd_protocol: 2 sshd_protocol: 2
sshd_port: 22
sshd_permit_root_login: "yes" sshd_permit_root_login: "yes"
sshd_permit_empty_passwords: "no" sshd_permit_empty_passwords: "no"
sshd_password_authentication: "no" sshd_password_authentication: "no"

View File

@ -15,7 +15,7 @@
# SELinux about this change. # SELinux about this change.
# semanage port -a -t ssh_port_t -p tcp #PORTNUMBER # semanage port -a -t ssh_port_t -p tcp #PORTNUMBER
# #
#Port 22 Port {{ sshd_port }}
#AddressFamily any #AddressFamily any
#ListenAddress 0.0.0.0 #ListenAddress 0.0.0.0
#ListenAddress :: #ListenAddress ::