summaryrefslogtreecommitdiffstats
path: root/docker/s6/openssh
diff options
context:
space:
mode:
authorIvan Marban <ivan.marban@gmail.com>2016-01-06 10:26:37 +0100
committerIvan Marban <ivan.marban@gmail.com>2016-01-06 10:26:37 +0100
commit4ea75dfcbe279dd5b59775a343ac930ca5bf01f4 (patch)
tree7c330336fab11c55f1706297375a036ecb3c66df /docker/s6/openssh
parentcc22c8a1aea3aa3f7e515dc02640a214213b242a (diff)
downloadgitea-4ea75dfcbe279dd5b59775a343ac930ca5bf01f4.tar.gz
gitea-4ea75dfcbe279dd5b59775a343ac930ca5bf01f4.zip
Remove RSA1 keys as only SSH version 2 is used
Diffstat (limited to 'docker/s6/openssh')
-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