Files
runner-images/images/win/post-generation/Add-SshHostKeys.ps1
T

4 lines
213 B
PowerShell
Raw Normal View History

2020-09-29 18:13:37 +03:00
# 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 dsa github.com >> "C:\Program Files\Git\etc\ssh\ssh_known_hosts"