Pseudo-terminal will not be allocated because stdin is not a terminal

Pavel Janík Pavel na Janik.cz
Středa Srpen 28 21:23:06 CEST 2002


   From: Pavel Lisy <pali na tmapy.cz>
   Date: 28 Aug 2002 14:41:33 +0200

Zdravím,

   > Zkousim spoustet ssh s viceradkovym vstupem presmerovanim ze stdin
   > a rad bych se zbavil hlasky v $SUBJ
   > 
   > priklad:
   > 
   > ssh prog-11 <<EOF
   > > ls /tmp
   > > EOF
   > Pseudo-terminal will not be allocated because stdin is not a terminal.

ssh -tt

ssh(1) to zmiňuje (SuSE Linux 8.x):

     -t      Force pseudo-tty allocation.  This can be used to execute arbi­
             trary screen-based programs on a remote machine, which can be
             very useful, e.g., when implementing menu services.  Multiple -t
             options force tty allocation, even if ssh has no local tty.
-- 
Pavel Janík

I am told this was an april fools email.
                  -- Jeff V. Merkey, April 1st in linux-kernel


Další informace o konferenci Linux