Re: Error: Pseudo-terminal will not be allocated because stdin is not a terminal.

2001-10-16 Thread Chuck
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

Re: Error: Pseudo-terminal will not be allocated because stdin is not a terminal.

2001-10-16 Thread _brian_d_foy
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

Error: Pseudo-terminal will not be allocated because stdin is not a terminal.

2001-10-15 Thread Chuck
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