Difference between revisions of "PermitRootLogin"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
Values: | Values: | ||
− | + | * <code>yes, prohibit-password, forced-commands-only, or no.</code>. Default value is <code>prohibit-password</code>. | |
Revision as of 09:42, 10 October 2022
PermitRootLogin
in /etc/ssh/sshd_config
file
PermitRootLogin prohibit-password
Values:
yes, prohibit-password, forced-commands-only, or no.
. Default value isprohibit-password
.
PermitRootLogin yes Match User root PasswordAuthentication yes
See also
Advertising: