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


in reply to Weird error with SSH2 authentication

Read again the documentation for the auth method. If you are using password authentication exclusively, you can replace it with
$ssh2->auth_password('un', 'pw');
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ