figured out more about ssh

This commit is contained in:
z3rOR0ne 2022-09-08 21:52:26 -07:00
parent 3eaa0898cb
commit ca3c917341
2 changed files with 26 additions and 0 deletions

11
sshd_harden.txt Normal file
View file

@ -0,0 +1,11 @@
/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