Difference between revisions of "Match (OpenSSH)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 5: Line 5:
 
Use [[!]] to negate:<ref>http://www.openssh.com/txt/release-5.1</ref>
 
Use [[!]] to negate:<ref>http://www.openssh.com/txt/release-5.1</ref>
 
  Match group staff,!guests
 
  Match group staff,!guests
 +
 +
Match User bob,joe,phil
  
  

Revision as of 17:07, 13 May 2020

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


Related terms

See also

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