In this post I’m going to share 5 tips you can use to secure SSH on a public-facing Ubuntu server. SSH stands for Secure SHell. It’s the primary way for administrators to login to remote Unix/Linux servers and also one of the primary attack vector by bad guys. It’s important that we secure it as much as possible.
Checking Your SSH Server Log
Before applying my tips, you can view your SSH log by issuing the following command. The -u
flag specifies that we only want to see logs belonging to the ssh
service unit.
sudo journalctl -u ssh
Read full tutorial here: https://www.linuxbabe.com/security/harden-ssh-server