How do I disable remote root login via ssh?
I want to log into my server (I use keys on my main comp) then
su into root instead of access root directly.
I am using Debian. I follow guides online which say add
PermitRootLogin no to the file and another mention
Protocol 2. Then reset ssh.
/etc/init.d/ssh restart. I did this and it did not work. I was able to log into root using putty.
How do I disable remote root login on Debian?