Look at the -t option on the man page:

       -t     Force  pseudo-tty  allocation.  This can be used to
              execute arbitary screen-based programs on a  remote
              machine,  which can be very useful e.g. when imple-
              menting menu services.

-ljr


On Thu, 26 Apr 2001 at 12:30pm, Stephen Domorod wrote:

> Hello all, I am writing a script for rdist, part of this script
> includes a command that will execute the following on machine1: ssh
> machine2 "/usr/local/bin/ssh machine1"
>
> It returns the following error:
>
> Pseudo-terminal will not be allocated because stdin is not a terminal.
>
> My question is, Is there a way to do this? If so how?
>
> I am running Solaris 7 on machine1 and Linux on machine2 with OpenSSH
> 2.5.1p2 on all machines. If any further information is needed please
> email me.

Reply via email to