37 lines
No EOL
884 B
Text
37 lines
No EOL
884 B
Text
Port 23456 # « BITTE ANPASSEN!
|
|
Protocol 2
|
|
AcceptEnv LANG LC_*
|
|
AllowTcpForwarding no
|
|
AllowUsers IhrBenutzer # « BITTE ANPASSEN!
|
|
AuthenticationMethods publickey
|
|
ChallengeResponseAuthentication yes
|
|
HostKey /etc/ssh/ssh_host_rsa_key
|
|
HostKey /etc/ssh/ssh_host_ecdsa_key
|
|
HostKey /etc/ssh/ssh_host_ed25519_key
|
|
HostbasedAuthentication no
|
|
IgnoreRhosts yes
|
|
IgnoreUserKnownHosts yes
|
|
LogLevel INFO
|
|
LoginGraceTime 30s
|
|
MaxAuthTries 3
|
|
MaxSessions 3
|
|
PasswordAuthentication no
|
|
PermitEmptyPasswords no
|
|
PermitRootLogin no
|
|
PubkeyAuthentication yes
|
|
PrintMotd no
|
|
PrintLastLog yes
|
|
Subsystem sftp /usr/lib/openssh/sftp-server
|
|
SyslogFacility AUTH
|
|
StrictModes yes
|
|
TCPKeepAlive yes
|
|
ClientAliveInterval 40
|
|
ClientAliveCountMax 360
|
|
UseDNS yes
|
|
UsePAM yes
|
|
X11Forwarding no
|
|
X11DisplayOffset 10
|
|
X11UseLocalhost no
|
|
# Match User administrator
|
|
# PasswordAuthentication yes
|
|
# AuthenticationMethods keyboard-interactive |