$ collect_host_keys git@github.com 2>/dev/random >host_keys
$ cat host_keys
github.com,192.30.253.113 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
github.com,192.30.253.113 ssh-dss AAAAB3NzaC1kc3MAAACBANGFW2P9xlGU3zWrymJgI/lKo//ZW2WfVtmbsUZJ5uyKArtlQOT2+WRhcg4979aFxgKdcsqAYW3/LS1T2km3jYW/vr4Uzn+dXWODVk5VlUiZ1HFOHf6s6ITcZvjvdbp6ZbpM+DuJT7Bw+h5Fx8Qt8I16oCZYmAPJRtu46o9C2zk1AAAAFQC4gdFGcSbp5Gr0Wd5Ay/jtcldMewAAAIATTgn4sY4Nem/FQE+XJlyUQptPWMem5fwOcWtSXiTKaaN0lkk2p2snz+EJvAGXGq9dTSWHyLJSM2W6ZdQDqWJ1k+cL8CARAqL+UMwF84CR0m3hj+wtVGD/J4G5kW2DBAf4/bqzP4469lT+dF2FRQ2L9JKXrCWcnhMtJUvua8dvnwAAAIB6C4nQfAA7x8oLta6tT+oCk2WQcydNsyugE8vLrHlogoWEicla6cWPk7oXSspbzUcfkjN3Qa6e74PhRkc7JdSdAlFzU3m7LMkXo1MHgkqNX8glxWNVqBSc0YRdbFdTkL0C6gtpklilhvuHQCdbgB3LBAikcRkDp+FCVkUgPC/7Rw==
$ collect_host_keys git@github.com
ssh_dispatch_run_fatal: Connection to 192.30.253.113: no matching host key type found
ssh_dispatch_run_fatal: Connection to 192.30.253.112: no matching host key type found
Warning: Permanently added 'github.com,192.30.253.113' (RSA) to the list of known hosts.
Permission denied (publickey).
Warning: Permanently added 'github.com,192.30.253.113' (DSA) to the list of known hosts.
Permission denied (publickey).
ssh_dispatch_run_fatal: Connection to 192.30.253.113: no matching host key type found
ssh_dispatch_run_fatal: Connection to 192.30.253.113: no matching host key type found
ssh_dispatch_run_fatal: Connection to 192.30.253.113: no matching host key type found
ssh_dispatch_run_fatal: Connection to 192.30.253.113: no matching host key type found
ssh_dispatch_run_fatal: Connection to 192.30.253.113: no matching host key type found
ssh_dispatch_run_fatal: Connection to 192.30.253.113: no matching host key type found
ssh_dispatch_run_fatal: Connection to 192.30.253.113: no matching host key type found
ssh_dispatch_run_fatal: Connection to 192.30.253.113: no matching host key type found
ssh_dispatch_run_fatal: Connection to 192.30.253.113: no matching host key type found
ssh_dispatch_run_fatal: Connection to 192.30.253.113: no matching host key type found
github.com,192.30.253.113 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
github.com,192.30.253.113 ssh-dss AAAAB3NzaC1kc3MAAACBANGFW2P9xlGU3zWrymJgI/lKo//ZW2WfVtmbsUZJ5uyKArtlQOT2+WRhcg4979aFxgKdcsqAYW3/LS1T2km3jYW/vr4Uzn+dXWODVk5VlUiZ1HFOHf6s6ITcZvjvdbp6ZbpM+DuJT7Bw+h5Fx8Qt8I16oCZYmAPJRtu46o9C2zk1AAAAFQC4gdFGcSbp5Gr0Wd5Ay/jtcldMewAAAIATTgn4sY4Nem/FQE+XJlyUQptPWMem5fwOcWtSXiTKaaN0lkk2p2snz+EJvAGXGq9dTSWHyLJSM2W6ZdQDqWJ1k+cL8CARAqL+UMwF84CR0m3hj+wtVGD/J4G5kW2DBAf4/bqzP4469lT+dF2FRQ2L9JKXrCWcnhMtJUvua8dvnwAAAIB6C4nQfAA7x8oLta6tT+oCk2WQcydNsyugE8vLrHlogoWEicla6cWPk7oXSspbzUcfkjN3Qa6e74PhRkc7JdSdAlFzU3m7LMkXo1MHgkqNX8glxWNVqBSc0YRdbFdTkL0C6gtpklilhvuHQCdbgB3LBAikcRkDp+FCVkUgPC/7Rw==
sshd[13255]: Set /proc/self/oom_score_adj to 0
sshd[13255]: Connection from 172.28.128.1 port 62450 on 172.28.128.4 port 22
sshd[13255]: Connection closed by 172.28.128.1 [preauth]
sshd[13257]: Set /proc/self/oom_score_adj to 0
sshd[13257]: Connection from 172.28.128.1 port 62451 on 172.28.128.4 port 22
sshd[13257]: fatal: no hostkey alg [preauth]
sshd[13259]: Set /proc/self/oom_score_adj to 0
sshd[13259]: Connection from 172.28.128.1 port 62452 on 172.28.128.4 port 22
sshd[13259]: Connection closed by 172.28.128.1 [preauth]
sshd[13261]: Set /proc/self/oom_score_adj to 0
sshd[13261]: Connection from 172.28.128.1 port 62453 on 172.28.128.4 port 22
sshd[13261]: Connection closed by 172.28.128.1 [preauth]
sshd[13263]: Set /proc/self/oom_score_adj to 0
sshd[13263]: Connection from 172.28.128.1 port 62454 on 172.28.128.4 port 22
sshd[13263]: Connection closed by 172.28.128.1 [preauth]
sshd[13265]: Set /proc/self/oom_score_adj to 0
sshd[13265]: Connection from 172.28.128.1 port 62455 on 172.28.128.4 port 22
sshd[13265]: fatal: no hostkey alg [preauth]
sshd[13267]: Set /proc/self/oom_score_adj to 0
sshd[13267]: Connection from 172.28.128.1 port 62456 on 172.28.128.4 port 22
sshd[13267]: fatal: no hostkey alg [preauth]
sshd[13269]: Set /proc/self/oom_score_adj to 0
sshd[13269]: Connection from 172.28.128.1 port 62457 on 172.28.128.4 port 22
sshd[13269]: fatal: no hostkey alg [preauth]
sshd[13271]: Set /proc/self/oom_score_adj to 0
sshd[13271]: Connection from 172.28.128.1 port 62458 on 172.28.128.4 port 22
sshd[13271]: fatal: no hostkey alg [preauth]
sshd[13273]: Set /proc/self/oom_score_adj to 0
sshd[13273]: Connection from 172.28.128.1 port 62459 on 172.28.128.4 port 22
sshd[13273]: fatal: no hostkey alg [preauth]
sshd[13275]: Set /proc/self/oom_score_adj to 0
sshd[13275]: Connection from 172.28.128.1 port 62460 on 172.28.128.4 port 22
sshd[13275]: fatal: no hostkey alg [preauth]
sshd[13277]: Set /proc/self/oom_score_adj to 0
sshd[13277]: Connection from 172.28.128.1 port 62461 on 172.28.128.4 port 22
sshd[13277]: fatal: no hostkey alg [preauth]
sshd[13279]: Set /proc/self/oom_score_adj to 0
sshd[13279]: Connection from 172.28.128.1 port 62462 on 172.28.128.4 port 22
sshd[13279]: fatal: no hostkey alg [preauth]
sshd[13281]: Set /proc/self/oom_score_adj to 0
sshd[13281]: Connection from 172.28.128.1 port 62463 on 172.28.128.4 port 22