in reply to Re: how to handle login failures with Net:::SSH::Perl?
in thread how to handle login failures with Net:::SSH::Perl?

Hi,

Actually, it is on the connection itself that the cmd() is die'ing on. So there won't be any output in STDERR from the remote command.

Jason L. Froebe

No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1

  • Comment on Re^2: how to handle login failures with Net:::SSH::Perl?

Replies are listed 'Best First'.
Re^3: how to handle login failures with Net:::SSH::Perl?
by KeighleHawk (Scribe) on Sep 22, 2004 at 16:49 UTC
    even so, setting verbose mode should give you more information. This was how I debugged the connection/setup problems I had when using this module in the past...

    Have you tried setting verbose mode? I notice the module has a debug option which is approximatly the same thing. Perhaps setting this and posting the results would be more enlightening...?