1
0

Fully functionnal challenge

This commit is contained in:
2018-11-07 23:32:32 +01:00
parent ca5a20c18a
commit 3be83c31ca
18 changed files with 400 additions and 36 deletions

33
debian-ssh/sshd_config Normal file
View File

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