Difference between revisions of "PermitRootLogin"

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
 
  Match User root
 
  Match User root
 
   [[PasswordAuthentication]] yes
 
   [[PasswordAuthentication]] yes
 
  
 
== See also ==
 
== See also ==

Revision as of 09:40, 10 October 2022

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: