in reply to Re^6: Usage of key authentication with Net::SSH::Anyin thread Usage of key authentication with Net::SSH::Any
$Net::SSH::Any::debug = -1; [download]
Also, try using Net::SSH2 directly in order to discard the case where it is a bug on Net::SSH::Any.