to secure an SSH server:

  • root login disabled
  • key based auth for others
  • fail2ban
  • block IP from some countries at firewall level (China, North Korea, etc)

from here

Annotation