in reply to Re^6: Usage of key authentication with Net::SSH::Any
in thread Usage of key authentication with Net::SSH::Any

No, unless you are using the development (git) versions of Net::SSH::Any, Net::SSH2 and libssh2.

The stable version of Net::SSH2 does not validate the host key, which BTW is probably and unacceptable security issue.

  • Comment on Re^7: Usage of key authentication with Net::SSH::Any