Securing SSH - wAlber47/Tech-Journal GitHub Wiki
-
In order to Secure SSH, you must make a small change to a file in Linux.
- Navigate to
/etc/ssh
, then runnano sshd_config
. - From here, you will be in a text editor, look for the option 'Permit Root Login'. Once you find it set it to 'no'.
- Once you save the file, run
sudo service sshd restart
. Try to log into root from ssh.
- Navigate to