Secure Your SSH Server

The default sshd config is not as secure as I thought. Here are my updated config:

X11Forwarding no
PermitRootLogin no
PermitEmptyPasswords no
PasswordAuthentication no

After the changes, I couldn’t login. Debugging SSH server.

Checking the logs:

sudo tail -F /var/log/auth.log

Back to Home