Hi All,
The file /usr/local/etc/sshd_config have no lines about
PermitRootLogin yes or PermitRootLgoin no
What does it mean? No login for root or it does.
Thanks in advance.
Hi All,
The file /usr/local/etc/sshd_config have no lines about
PermitRootLogin yes or PermitRootLgoin no
What does it mean? No login for root or it does.
Thanks in advance.
If PermitRootLgoin is set to yes, it means that you can ssh as root directly to the server (Not recommended). PermitRootLgoin setting to "No" will require you to login/ssh to the server using your personal id/ a/c, then followed by su- if you wish to take upon the role of root.
If the line is not present at all, it means the default of *** DELETED *** applies
edit: I had previously said "no" there but it turns out I've got it backwards - by default, sshd _does_ permit root logins
The default of "Yes" applies
Woah! Incredible's right - that's horrible! (Not inc being right, but sshd's default behaviour that is ;)) Will edit my post above just to make it _really_ clear...
i guess the best way is to test, thanks to all.