diff options
author | Unknwon <u@gogs.io> | 2016-01-07 09:11:10 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-01-07 09:11:10 +0800 |
commit | 6dc407c7d910d185304572dd8241d959793c9bf0 (patch) | |
tree | 5421bd14d4e2c6547f388ba32de59895797d3a8d | |
parent | 0cb739684096396e26595ac70817a2a05b61b443 (diff) | |
parent | 4ea75dfcbe279dd5b59775a343ac930ca5bf01f4 (diff) |
Merge pull request #2347 from ivanmarban/develop
Remove RSA1 keys as only SSH version 2 is used
-rwxr-xr-x | docker/s6/openssh/setup | 4 | ||||
-rw-r--r-- | docker/sshd_config | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/docker/s6/openssh/setup b/docker/s6/openssh/setup index 6df5ef70..5333d3c0 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 diff --git a/docker/sshd_config b/docker/sshd_config index 9b62f148..30c4e23c 100644 --- a/docker/sshd_config +++ b/docker/sshd_config @@ -4,7 +4,6 @@ ListenAddress 0.0.0.0 ListenAddress :: Protocol 2 LogLevel INFO -HostKey /data/ssh/ssh_host_key HostKey /data/ssh/ssh_host_rsa_key HostKey /data/ssh/ssh_host_dsa_key HostKey /data/ssh/ssh_host_ecdsa_key |