Files
runner-images/images/macos/provision/configuration/configure-ssh.sh
2022-05-12 11:53:25 +03:00

8 lines
217 B
Bash
Executable File

#!/bin/bash -e -o pipefail
[[ ! -d ~/.ssh ]] && mkdir ~/.ssh 2>/dev/null
chmod 777 ~/.ssh
ssh-keyscan -t rsa,ecdsa,ed25519 github.com >> ~/.ssh/known_hosts
ssh-keyscan -t rsa ssh.dev.azure.com >> ~/.ssh/known_hosts