Re: Pseudo-terminal will not be allocated because stdin is not a terminal.
From: Richard E. Silverman (res_at_qoxp.net)
Date: 03/12/04
- Next message: Jack Patteeuw: "X11 forwarding"
- Previous message: Dan Oviatt: "Re: core dump with openssh 3.8 on HP11 with PAM"
- In reply to: Fabio C.: "Pseudo-terminal will not be allocated because stdin is not a terminal."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 12 Mar 2004 15:57:22 -0500
>>>>> "FC" == Fabio C <fabio@non-existent.int> writes:
FC> This is probably a FAQ, but none of the solutions I've found have
FC> been helpful till now. So, please accept my apologies.
FC> Within a shell script, I used some ssh connection to establish
FC> remote connections for issuing some commands, like in the example
FC> below:
FC> #!/bin/sh ssh host01 <<-EOF ... ... some commands ... EOF
FC> ...that works beautifully :)
FC> But, anyway, the following error appears:
FC> Pseudo-terminal will not be allocated because stdin is not a
FC> terminal.
% man ssh
...
-T Disable pseudo-tty allocation.
...
FC> Since the script is launched by an application that checks for
FC> errors on STDERR, I need as soon as possible to find a possible
FC> method to suppress those errors.
FC> I've already tried using the '-t' switch but still the error
FC> appears.
-t disables tty creation on the server side; -T, on the client.
-- Richard Silverman res@qoxp.net
- Next message: Jack Patteeuw: "X11 forwarding"
- Previous message: Dan Oviatt: "Re: core dump with openssh 3.8 on HP11 with PAM"
- In reply to: Fabio C.: "Pseudo-terminal will not be allocated because stdin is not a terminal."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|