add ecdsa & ed25519 gh host keys (#5520)

This commit is contained in:
Rob Herley
2022-05-12 04:53:25 -04:00
committed by GitHub
parent 7b9a92f719
commit 1bd639f31d
3 changed files with 3 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ tar xzf "$tmp_hub"/hub-linux-amd64-*.tgz --strip-components 1 -C "$tmp_hub"
mv "$tmp_hub"/bin/hub /usr/local/bin
# Add well-known SSH host keys to known_hosts
ssh-keyscan -t rsa github.com >> /etc/ssh/ssh_known_hosts
ssh-keyscan -t rsa,ecdsa,ed25519 github.com >> /etc/ssh/ssh_known_hosts
ssh-keyscan -t rsa ssh.dev.azure.com >> /etc/ssh/ssh_known_hosts
invoke_tests "Tools" "Git"