Difference between revisions of "PasswordAuthentication"

From wikieduonline
Jump to navigation Jump to search
 
Line 18: Line 18:
 
* <code>[[systemctl restart sshd]]</code>
 
* <code>[[systemctl restart sshd]]</code>
 
* <code>[[ChallengeResponseAuthentication]]</code>
 
* <code>[[ChallengeResponseAuthentication]]</code>
 +
* <code>[[PermitRootLogin]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 09:37, 10 October 2022

PasswordAuthentication directive in sshd_config, default is yes.

Examples[edit]

Match[edit]

Match User <username>
   PasswordAuthentication yes

PermitRootLogin[edit]

PermitRootLogin yes
PasswordAuthentication no
Match User root
   PasswordAuthentication yes


Related terms[edit]

See also[edit]

Advertising: