ssh: limit overall login attempts and interactions
Additionally also disable any unnecessary/unused features by default.
This commit is contained in:
parent
ceeba484f6
commit
52ec354da9
1 changed files with 17 additions and 0 deletions
|
@ -1,3 +1,20 @@
|
|||
# Authentication
|
||||
LoginGraceTime 2m
|
||||
PermitRootLogin prohibit-password
|
||||
StrictModes yes
|
||||
MaxAuthTries 6
|
||||
MaxSessions 10
|
||||
|
||||
# To disable tunneled clear text passwords, change to no here!
|
||||
PasswordAuthentication no
|
||||
PermitEmptyPasswords no
|
||||
|
||||
# Kerberos options
|
||||
KerberosAuthentication no
|
||||
|
||||
# GSSAPI options
|
||||
GSSAPIAuthentication no
|
||||
|
||||
# TODO: Confirm that this is not overridden by the global configuration file?
|
||||
# X11 is not installed on this machine anyway.
|
||||
X11Forwarding no
|
||||
|
|
Loading…
Reference in a new issue