Difference between revisions of "PermitRootLogin"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
PermitRootLogin prohibit-password | PermitRootLogin prohibit-password | ||
+ | Values: | ||
yes, prohibit-password, forced-commands-only, or no. The default is prohibit-password. | yes, prohibit-password, forced-commands-only, or no. The default is prohibit-password. | ||
Revision as of 16:42, 5 October 2021
PermitRootLogin
in/etc/ssh/sshd_config
file
PermitRootLogin prohibit-password
Values:
yes, prohibit-password, forced-commands-only, or no. The default is prohibit-password.
PermitRootLogin yes Match User root PasswordAuthentication yes
See also
Advertising: