Executing ssh from within a cgi.
I am having a hell of a time getting something to work; I have some code similiar to this: my $cmd = "/bin/ssh -l cci $host \"df -b | grep root | grep -v grep\""; @results = `$cmd`; Here is what the apache logs says: Prototype mismatch: sub Apache::ROOT::Dept::SSG::shipRelease_2epl::lstat vs ($) at /usr/lib/perl5/5.6.0/Exporter.pm line 57. at /usr/local/apache/htdocs/Dept/SSG/shipRelease.pl line 4 Pseudo-terminal will not be allocated because stdin is not a terminal. stty: : Operation not supported on transport endpoint sh: df -b | grep root | grep -v grep: command not found What is driving crazy is that this worked last week, now after further work on my scripts, it stopped working. I backup to previous versions and have yet to get this working again. I thought it was the fact that I switched to the CGI.pm module but reverting back to my own module did npt fix it. What am I missing? Is there another way to connect to the remote system and get this data? Thanks, Chuck -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]