dockerfiles/nasp-jumpserver/sshd_config
2023-05-04 14:18:10 +08:00

16 lines
339 B
Plaintext

Port 22
# Authentication:
LoginGraceTime 30s
PermitRootLogin prohibit-password
StrictModes yes
MaxAuthTries 6
MaxSessions 10
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys2
PasswordAuthentication no
AllowAgentForwarding yes
# override default of no subsystems
Subsystem sftp internal-sftp