From 5e17cd8a240afad8ed1191b40335fc0df727b458 Mon Sep 17 00:00:00 2001 From: solidnerd Date: Sat, 3 Feb 2018 09:31:52 +0100 Subject: [PATCH] Remove rsa1 ssh_host_key MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This means that the SSH 1 protocol wouldn’t be supported anymore. Signed-off-by: solidnerd --- assets/runtime/functions | 1 - 1 file changed, 1 deletion(-) diff --git a/assets/runtime/functions b/assets/runtime/functions index 620eed15..8f12f4c7 100644 --- a/assets/runtime/functions +++ b/assets/runtime/functions @@ -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