Error: Pseudo-terminal will not be allocated because stdin is
not a terminal.
> In article <017501c155cb$0c286320$[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Chuck) wrote:
>
> > I am having a hell of a time getting something to work;
>
> > my $cmd = "/bin/ssh -l cci
In article <017501c155cb$0c286320$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Chuck) wrote:
> I am having a hell of a time getting something to work;
> my $cmd = "/bin/ssh -l cci $host \"df -b | grep root | grep -v grep\"";
> @results = `$cmd`;
have you tried Net::SSH?
http://search.cpan.org/s
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