mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
add ecdsa & ed25519 gh host keys (#5520)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user