Difference between revisions of "Match (OpenSSH)"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
 
  Match User bob,joe,phil
 
  Match User bob,joe,phil
  
  Match User <username>
+
  [[Match User]] <username>
 
   [[PasswordAuthentication]] yes
 
   [[PasswordAuthentication]] yes
  
Line 17: Line 17:
  
 
== See also ==
 
== See also ==
 +
* {{sshd_config}}
 
* {{OpenSSH}}
 
* {{OpenSSH}}
  
  
 
[[Category:Security]]
 
[[Category:Security]]

Latest revision as of 18:34, 7 September 2023

Match directive in sshd_config file in OpenSSH The available criteria are User, Group, Host, LocalAddress, LocalPort, RDomain, and Address (with RDomain representing the rdomain(4) on which the connection was received). See also: ChrootDirectory, Sftp configuration

Use ! to negate:[1]

Match group staff,!guests
Match User bob,joe,phil
Match User <username>
  PasswordAuthentication yes


Related terms[edit]

See also[edit]

  • http://www.openssh.com/txt/release-5.1
  • Advertising: