mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-28 08:24:27 +02:00
Updated sshd_config (markdown)
parent
343d26688a
commit
66b19be9e2
@ -38,7 +38,7 @@ Support added in v7.7.0.0
|
|||||||
To setup a sftp-only chroot server, set ForceCommand to `internal-sftp`. You may also set up scp with chroot, by implementing a custom shell that would only allow scp and sftp.
|
To setup a sftp-only chroot server, set ForceCommand to `internal-sftp`. You may also set up scp with chroot, by implementing a custom shell that would only allow scp and sftp.
|
||||||
_____
|
_____
|
||||||
#### [HostKey](https://man.openbsd.org/sshd_config#HostKey)
|
#### [HostKey](https://man.openbsd.org/sshd_config#HostKey)
|
||||||
The defaults are _%programdata%/ssh/ssh_host_ecdsa_key_, _%programdata%/ssh/ssh_host_ed25519_key_ and _%programdata%/ssh/ssh_host_rsa_key_.
|
The defaults are _%programdata%/ssh/ssh_host_ecdsa_key_, _%programdata%/ssh/ssh_host_ed25519_key_ and _%programdata%/ssh/ssh_host_rsa_key_. If the defaults are not present, sshd will automatically generate these on a service start.
|
||||||
______
|
______
|
||||||
#### [Match](https://man.openbsd.org/sshd_config#Match)
|
#### [Match](https://man.openbsd.org/sshd_config#Match)
|
||||||
Note that pattern rules in [this](https://github.com/PowerShell/Win32-OpenSSH/wiki/sshd_config#allowgroups-allowusers-denygroups-denyusers) section. User and group names should be in **lower* case.
|
Note that pattern rules in [this](https://github.com/PowerShell/Win32-OpenSSH/wiki/sshd_config#allowgroups-allowusers-denygroups-denyusers) section. User and group names should be in **lower* case.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user