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

@@ -3,5 +3,5 @@
[[ ! -d ~/.ssh ]] && mkdir ~/.ssh 2>/dev/null
chmod 777 ~/.ssh
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
ssh-keyscan -t rsa,ecdsa,ed25519 github.com >> ~/.ssh/known_hosts
ssh-keyscan -t rsa ssh.dev.azure.com >> ~/.ssh/known_hosts