in reply to Net::SSH::Perl - stops script execution on authentication failure

I am not really familiar with the module, but you might try to eval the login line as well.
  • Comment on Re: Net::SSH::Perl - stops script execution on authentication failure
  • Download Code