notes/sshd_harden.txt
2022-09-08 21:52:26 -07:00

11 lines
199 B
Text

/etc/ssh/sshd_config
PermitEmptyPasswords no
Port 2345 (or some other port than default 22)
PermitRootLogin no
ClientAliveInterval 300
ClientAliveCountMax 2
X11Forwarding no
MaxAuthTries 3
sshd -T