Sort:  

It's also worth noting you can restart sshd from an SSH connection and your connection will not drop.

Thumbs up for this post: I've seen too many short "Linux installation guides" where SSH security isn't mentioned.

Other useful options for /etc/ssh/sshd_config are:

  • PermitEmptyPasswords no
  • PermitRootLogin no
  • AllowUsers yournormaluser

This combined with your Fail2ban guide from earlier will significantly increase the security of your *nix server.

Exactly. I meant to include these to my post, but they slipped somewhere. Thanks for the reminder, I'll include them!

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.090
BTC 62545.13
ETH 1756.43
USDT 1.00
SBD 0.39