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

@@ -21,7 +21,7 @@ if (Test-IsWin16) {
}
# Add well-known SSH host keys to ssh_known_hosts
ssh-keyscan -t rsa github.com >> "C:\Program Files\Git\etc\ssh\ssh_known_hosts"
ssh-keyscan -t rsa,ecdsa,ed25519 github.com >> "C:\Program Files\Git\etc\ssh\ssh_known_hosts"
ssh-keyscan -t rsa ssh.dev.azure.com >> "C:\Program Files\Git\etc\ssh\ssh_known_hosts"
Invoke-PesterTests -TestFile "Git"