wercker/step-add-to-known_hosts — pull request #1 by anka-sirota (2014-04-24 09:39:03+00:00)
Title: scanning for all types of keys

In some cases, script skips the fingerprint because ssh-keyscan didn't get a key of the desired type.
E.g. if host sends ecdsa key and given fingerprint matches this key, but ssh-keyscan gets an rsa key, then all connections will fail with "Host key verification failed" error during later steps.

It would be great if the script could match the fingerprint against all types of key.