Ivan Tomica

SSH configuration

This should be a short article mentioning few options I generally change in sshd_config and recommend that you change them too.

Change port number
I usually change port number to something random to avoid millions upon millions of failed SSH connection generated by various bots on the interwebz in my server logs:

Port 10102

Turn off password authentication

PermitRootLogin without-password
PasswordAuthentication no

What additional tweaks do you make to your sshd_config file in order to secure SSH?

Sysadmin on the everlasting journey of learning. Always in search for an opportunity to prove myself and to learn something new. My addiction is learning and my main goal is to excel in every aspect of Linux/Unix system administration.


Leave a Reply

Your email address will not be published. Required fields are marked *