mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
Merge pull request #1498 from solidnerd/fix_unknown_or_unsupported_key_type_rsa1
Remove rsa1 ssh_host_key
This commit is contained in:
commit
f7092d8d38
@ -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