Difference between revisions of "PermitRootLogin"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
  
 
Values:
 
Values:
yes, prohibit-password, forced-commands-only, or no. The default is prohibit-password.
+
* <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 is prohibit-password.


PermitRootLogin yes
Match User root
  PasswordAuthentication yes

See also

Advertising: