32 lines
580 B
Plaintext
32 lines
580 B
Plaintext
|
HostKey /ssh/ssh_host_rsa_key
|
||
|
HostKey /ssh/ssh_host_ecdsa_key
|
||
|
HostKey /ssh/ssh_host_ed25519_key
|
||
|
|
||
|
#SyslogFacility AUTH
|
||
|
LogLevel INFO
|
||
|
LoginGraceTime 1m
|
||
|
PermitRootLogin no
|
||
|
PubkeyAuthentication yes
|
||
|
MaxAuthTries 3
|
||
|
PrintMotd no
|
||
|
PermitUserEnvironment no
|
||
|
|
||
|
ClientAliveInterval 10
|
||
|
ClientAliveCountMax 3
|
||
|
|
||
|
UseDNS no
|
||
|
|
||
|
AuthorizedKeysFile /ssh/authorized_keys
|
||
|
PasswordAuthentication no
|
||
|
|
||
|
AllowAgentForwarding no
|
||
|
AllowTcpForwarding no
|
||
|
GatewayPorts no
|
||
|
X11Forwarding no
|
||
|
|
||
|
Subsystem sftp internal-sftp
|
||
|
|
||
|
# ChrootDirectory /data
|
||
|
|
||
|
ForceCommand /app/restricted-ssh ${SSH_ORIGINAL_COMMAND}
|