Match (OpenSSH)

From wikieduonline
Revision as of 18:34, 7 September 2023 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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]

Advertising: