How to disable ssh direct login
First open up the ssh config:
nano /etc/ssh/sshd_config
PermitRootLogin
You will want to set it to either PermitRootLogin no or PermitRootLogin without-password. Once done simply save and restart sshd
service sshd restart
Category: Linux Administration
