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.