summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorSimon Rettberg2020-11-16 14:12:14 +0100
committerSimon Rettberg2020-11-16 14:12:14 +0100
commitc89a5a97944d83d021708d20424e7de3dd261ff7 (patch)
tree7366d725636e2b67cc58cd68c00df08112af4ba4 /data
parent[RecompressArchive] Properly implement duplicate filename detection (diff)
downloadtmlite-bwlp-c89a5a97944d83d021708d20424e7de3dd261ff7.tar.gz
tmlite-bwlp-c89a5a97944d83d021708d20424e7de3dd261ff7.tar.xz
tmlite-bwlp-c89a5a97944d83d021708d20424e7de3dd261ff7.zip
[SshConfigGenerator] Adapt to changed config from slx-admin
See #3628 and #3345
Diffstat (limited to 'data')
-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