Difference between revisions of "PasswordAuthentication"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
<code>PasswordAuthentication</code> directive in [[sshd_config]], default is ''<code>yes</code>''.
 
<code>PasswordAuthentication</code> directive in [[sshd_config]], default is ''<code>yes</code>''.
  
 +
== Examples ==
 
===Match===
 
===Match===
 
  [[Match (OpenSSH)|Match]] User <username>
 
  [[Match (OpenSSH)|Match]] User <username>

Revision as of 09:37, 10 October 2022

PasswordAuthentication directive in sshd_config, default is yes.

Examples

Match

Match User <username>
   PasswordAuthentication yes

PermitRootLogin

PermitRootLogin yes
PasswordAuthentication no
Match User root
   PasswordAuthentication yes


Related terms

See also

Advertising: