in reply to Re^6: Usage of key authentication with Net::SSH::Anyin thread Usage of key authentication with Net::SSH::Any
The stable version of Net::SSH2 does not validate the host key, which BTW is probably and unacceptable security issue.