e Learning

Explain sshd permitrootlogin without-password

PermitRootLogin Parameter in sshd_config File controls how root user can login to the Linux server via ssh (Secure Shell).

The Value of PermitRootLogin is without-password means the root user Cannot Login to the Server via ssh with a password. Also This Has been The Default Value In Ubuntu 14. If tried to Login With Password, root will get Following Error.

Permission denied, please try again.

So Then How Root can Login to The Server

The root user can still can log into the server remotely, But have to authenticate using ssh key instead of using a password when access the Linux terminal via ssh.

sshd_config File is the ssh Main Configuration File Normally Located in /etc/ssh Directory.