SSH Security Best Practices
At file /etc/ssh/sshd_config:
Disable Root Logins
Best: PermitRootLogin no
Good: PermitRootLogin without-password
wihout-password requires "PubkeyAuthentication yes"
Limit user Logins
AllowUsers somusername1 someusername2
Disable Protocol 1
Protocol 2
U
...
Read more