mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
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:
parent
4217abc531
commit
5e17cd8a24
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user