init: nasp-jumpserver
This commit is contained in:
15
nasp-jumpserver/sshd_config
Normal file
15
nasp-jumpserver/sshd_config
Normal 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
|
||||
Reference in New Issue
Block a user