Ubuntu sshd config file

Hello,

I am trying to understand ubuntu sshd config file and in there i found “PermitRootLogin is set as without-password”. Does is set as default on ubuntu or somebody changes this to without-password.

Thank you

sravan199411@gmail.com wrote:

[-- multipart/alternative, encoding 7bit, 50 lines --]

    [-- text/plain, encoding 7bit, charset: UTF-8, 16 lines --]

Hello,

I am trying to understand ubuntu sshd config file and in there i found
"PermitRootLogin is set as without-password". Does is set as default on
ubuntu or somebody changes this to without-password.

It means that you can login to root via ssh using key authentication
which is more secure than password authentication. The system is set
up by default so that there *isn't* a root password so you can't log
in to root using a password anyway (directly or via ssh).