// Verify the hoskey
if (!verifyHostKey(kex.getHostKey(), kex.getSignature(),
kex.getExchangeHash())) {
sendDisconnect(SshMsgDisconnect.HOST_KEY_NOT_VERIFIABLE,
"The host key supplied was not valid",
new KeyExchangeException(
"The host key is invalid or was not accepted!"));
}
}