summaryrefslogtreecommitdiffstats
path: root/data/sshd_config.template
diff options
context:
space:
mode:
Diffstat (limited to 'data/sshd_config.template')
-rw-r--r--data/sshd_config.template9
1 files changed, 4 insertions, 5 deletions
diff --git a/data/sshd_config.template b/data/sshd_config.template
index a6536e2..5517c1a 100644
--- a/data/sshd_config.template
+++ b/data/sshd_config.template
@@ -1,4 +1,8 @@
Port %PORT%
+PasswordAuthentication %ALLOW_PASSWORD%
+PermitRootLogin %ALLOW_ROOT%
+AllowUsers %ALLOW_USERS%
+DenyUsers %DENY_USERS%
Protocol 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
@@ -6,24 +10,19 @@ HostKey /etc/ssh/ssh_host_ecdsa_key
SyslogFacility AUTH
LogLevel INFO
LoginGraceTime 30
-PermitRootLogin yes
StrictModes yes
PubkeyAuthentication yes
-PasswordAuthentication %PASSWORDLOGIN%
AuthorizedKeysFile %h/.ssh/authorized_keys
IgnoreRhosts yes
HostbasedAuthentication no
PermitEmptyPasswords no
ChallengeResponseAuthentication no
X11Forwarding yes
-X11DisplayOffset 10
PrintMotd no
-PrintLastLog yes
TCPKeepAlive yes
Banner /etc/issue.net
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
UsePAM yes
-AllowUsers root
UseDNS no