in reply to Net::SSH:Perl problems when ran as CGI

What is the output (probably in the error logs) with the debug option set? You could even write your own debug message (to STDERR) when debugging is turned on (instead of printing as you are to STDOUT) with Net::SSH::Perl's debug method.
  • Comment on Re: Net::SSH:Perl problems when ran as CGI

Replies are listed 'Best First'.
Re^2: Net::SSH:Perl problems when ran as CGI
by Anonymous Monk on Aug 30, 2007 at 22:34 UTC
    Which error log do you think it'll be in? Are we talking apache error logs, or something else? How would I write my own debug message, as soon the program gets to the login phase it just dies.

    Just had a thought.. Does apache block CGI scripts from using certain ports? Although the first connection line is working so it should have already connected to the host before it logs on? I really have no idea what to do.