in reply to
How do I debug a problem with Net:SSH
You can add a warn statement to find out why it failed. Something like this.
warn $scp->{errstr};
[download]
Then you can check your logs to see what the error actually is.
Comment on
Re: How do I debug a problem with Net:SSH
Download
Code
In Section
Seekers of Perl Wisdom