34 lines
561 B
Plaintext
34 lines
561 B
Plaintext
|
### 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
|