Remove rsa1 ssh_host_key

This means that the SSH 1 protocol wouldn’t be supported anymore.

Signed-off-by: solidnerd <niclas@mietz.io>
This commit is contained in:
solidnerd 2018-02-03 09:31:52 +01:00
parent 4217abc531
commit 5e17cd8a24
No known key found for this signature in database
GPG Key ID: C300D44AB5469BE5

View File

@ -1338,7 +1338,6 @@ generate_ssh_host_keys() {
sed -i "s|HostKey /etc/ssh/|HostKey ${GITLAB_DATA_DIR}/ssh/|g" /etc/ssh/sshd_config
if [[ ! -e ${GITLAB_DATA_DIR}/ssh/ssh_host_rsa_key ]]; then
echo -n "Generating OpenSSH host keys... "
generate_ssh_key rsa1 ${GITLAB_DATA_DIR}/ssh/ssh_host_key
generate_ssh_key rsa ${GITLAB_DATA_DIR}/ssh/ssh_host_rsa_key
generate_ssh_key dsa ${GITLAB_DATA_DIR}/ssh/ssh_host_dsa_key
generate_ssh_key ecdsa ${GITLAB_DATA_DIR}/ssh/ssh_host_ecdsa_key