1
0
netrunner/debian-ssh/sshd_config

34 lines
561 B
Plaintext
Raw Permalink Normal View History

2018-11-07 22:32:32 +00:00
### SSH configuration file ###
# General
Port 22
Protocol 2
AcceptEnv LANG LC_*
Banner /etc/banner
# Allow users
AllowUsers puppet-master
# Authentification
PermitRootLogin no
PubkeyAuthentication yes
StrictModes yes
PermitEmptyPasswords no
LoginGraceTime 20s
MaxAuthTries 5
MaxStartups 100
AuthenticationMethods publickey
#Forwarding
AllowTcpForwarding no
X11Forwarding no
AllowStreamLocalForwarding no
GatewayPorts no
PermitTunnel no
# Desactivate other auth methodes
PasswordAuthentication no
KerberosAuthentication no
GSSAPIAuthentication no
usePam no