verifying host key
From: Marton Fabo (morton_at_eik.bme.hu)
Date: Mon, 09 Feb 2004 15:48:08 +0100 To: firstname.lastname@example.org
Is there an OpenSSH command line tool, or a switch to ssh or ssh-keyscan
which verifies the requested server's host key against the public key
saved in known_hosts, and returns with an appropriate return value? That
is, e.g. a command-line switch to ssh which prevents it from trying to
log in, and causes it to exit after the host key check.