in reply to Re^7: Net::OpenSSH + CGI problem
in thread Net::OpenSSH + CGI problem

I don't remember who inspired me to this cgi debug script (either someone here or on reddit), but I think it would be useful in your case, too.