ssh_connection_works should be key-agnostic