Pseudo-terminal will not be allocated because stdin is not a terminal.
From: Fabio C. (fabio_at_non-existent.int)
Date: 03/12/04
- Next message: Dan Oviatt: "Re: core dump with openssh 3.8 on HP11 with PAM"
- Previous message: Nico Kadel-Garcia: "Re: Rebuilding OpenSSH on RedHat 7.3"
- Next in thread: Richard E. Silverman: "Re: Pseudo-terminal will not be allocated because stdin is not a terminal."
- Reply: Richard E. Silverman: "Re: Pseudo-terminal will not be allocated because stdin is not a terminal."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 12 Mar 2004 17:38:54 +0100
This is probably a FAQ, but none of the solutions I've found have been
helpful till now. So, please accept my apologies.
Within a shell script, I used some ssh connection to establish remote
connections for issuing some commands, like in the example below:
#!/bin/sh
ssh host01 <<-EOF
...
...
some commands
...
EOF
...that works beautifully :)
But, anyway, the following error appears:
Pseudo-terminal will not be allocated because stdin is not a terminal.
Since the script is launched by an application that checks for errors on
STDERR, I need as soon as possible to find a possible method to suppress
those errors.
I've already tried using the '-t' switch but still the error appears.
Any help?
Thanks in advance!
Fabio
- Next message: Dan Oviatt: "Re: core dump with openssh 3.8 on HP11 with PAM"
- Previous message: Nico Kadel-Garcia: "Re: Rebuilding OpenSSH on RedHat 7.3"
- Next in thread: Richard E. Silverman: "Re: Pseudo-terminal will not be allocated because stdin is not a terminal."
- Reply: Richard E. Silverman: "Re: Pseudo-terminal will not be allocated because stdin is not a terminal."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|