This repository has been archived on 2024-07-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
etckeeper/ssh/sshd_config
T

46 lines
774 B
Plaintext

Protocol 2
Port 22
#Privilege Separation is turned on for security
UsePrivilegeSeparation sandbox
# Logging
SyslogFacility AUTH
LogLevel VERBOSE
# Authentication:
#PermitRootLogin prohibit-password
PermitRootLogin no
MaxAuthTries 2
MaxSessions 2
IgnoreRhosts yes
#RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile %h/.ssh/authorized_keys
PasswordAuthentication no
PermitEmptyPasswords no
ChallengeResponseAuthentication no
UsePAM yes
AllowAgentForwarding no
AllowTcpForwarding no
X11Forwarding no
PrintMotd no
TCPKeepAlive yes
Compression no
ClientAliveInterval 300
ClientAliveCountMax 2
UseDNS no
#Banner /etc/issue.net
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
#Match address 192.124.237.237
# PasswordAuthentication yes