in reply to Getting error using Net::SSH:Any

Show us your code.

Which backend are you using?

Finally, enable debugging and show us the output:

$Net::SSH::Any::debug=-1;