init: nasp-jumpserver

This commit is contained in:
2023-05-04 14:17:03 +08:00
parent e28d5291c3
commit 9d6db4bb40
3 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
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