Difference between revisions of "Match (OpenSSH)"
Jump to navigation
Jump to search
↑ http://www.openssh.com/txt/release-5.1
Tags: Mobile web edit, Mobile edit |
|||
(4 intermediate revisions by the same user not shown) | |||
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 | ||
+ | |||
+ | [[Match User]] <username> | ||
+ | [[PasswordAuthentication]] yes | ||
== Related terms == | == Related terms == | ||
* [[Sftp configuration]] | * [[Sftp configuration]] | ||
− | * <code>[[ | + | * <code>[[sshd -t]]</code> |
== 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
Match group staff,!guests
Match User bob,joe,phil
Match User <username> PasswordAuthentication yes
Related terms[edit]
See also[edit]
/etc/ssh/sshd_config
:AuthenticationMethods, PasswordAuthentication
,PermitRootLogin
,MaxStartups, sshd_config
- OpenSSH (changelog):
/etc/ssh/sshd_config
|/etc/ssh/ssh_config
|~/.ssh/
|openSSL | sshd logs
|sftp
|scp
|authorized_keys
|ssh-keygen
|ssh-keyscan
|ssh-add
|ssh-agent
|ssh
|Ssh -O stop
|ssh-copy-id
|CheckHostIP
|UseKeychain
, OpenSSF, ~/.ssh/authorized_keys
Advertising: