ssh: add test for host key

Test that the certificate check callback gets the right fingerprint from
the host we're connecting to.