# vim:ft=sh: # fedora setup local host local found local expected local obtained wget https://admin.fedoraproject.org/ssh_known_hosts -O ~/.ssh/fedora-known_hosts while read host; do found=$(grep $(dig +short "${host}") ~/.ssh/fedora-known_hosts) if test -n "${found}"; then chmod u+w ~/.ssh/config cat >>~/.ssh/config <~/.ssh/github-known_hosts 2>/dev/null || echo "Documented and obtained RSA fingerprint does NOT match"