summaryrefslogtreecommitdiffstats
path: root/docker/s6/openssh/setup
diff options
context:
space:
mode:
Diffstat (limited to 'docker/s6/openssh/setup')
-rwxr-xr-xdocker/s6/openssh/setup4
1 files changed, 0 insertions, 4 deletions
diff --git a/docker/s6/openssh/setup b/docker/s6/openssh/setup
index 6df5ef7050..5333d3c06e 100755
--- a/docker/s6/openssh/setup
+++ b/docker/s6/openssh/setup
@@ -1,10 +1,6 @@
#!/bin/sh
# Check if host keys are present, else create them
-if ! test -f /data/ssh/ssh_host_key; then
- ssh-keygen -q -f /data/ssh/ssh_host_key -N '' -t rsa1
-fi
-
if ! test -f /data/ssh/ssh_host_rsa_key; then
ssh-keygen -q -f /data/ssh/ssh_host_rsa_key -N '' -t rsa
fi