dockerfiles/nasp-jumpserver/sshd_config

17 lines
373 B
Plaintext
Raw Permalink Normal View History

2023-05-04 14:17:03 +08:00
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
2023-05-04 16:08:19 +08:00
PubkeyAcceptedAlgorithms=+ssh-rsa
2023-05-04 14:17:03 +08:00
# override default of no subsystems
Subsystem sftp internal-sftp