You are viewing a single comment's thread from:
RE: Servers 101: Basic Server Security Part 3 (Key based login)
Post updated, as by mistake I didn't include the "ssh restart" instruction!
Post updated, as by mistake I didn't include the "ssh restart" instruction!
It's also worth noting you can restart
sshdfrom 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_configare:PermitEmptyPasswords noPermitRootLogin noAllowUsers yournormaluserThis 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!