http://www.perlmonks.org?node_id=1066837


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

Try enabling Net::SSH::Any debugging.
$Net::SSH::Any::debug = -1;

Also, try using Net::SSH2 directly in order to discard the case where it is a bug on Net::SSH::Any.