Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [6433] interactive shell with ssh



On Mon, Aug 04, 2003 at 01:11:48PM +0200, Andy Spiegl wrote:

>  xterm -e ssh -l root $somehost "apt-get update; apt-get upgrade; echo 'Press ENTER to close'; read"
> 
> After I found a solution to that (using zshenv) I next noticed that
> "dialog" doesn't work either because TERM is not set and because zsh
> thinks there is no tty.

Have you tried "ssh -t"?  That makes the remote end allocate a TTY (so
you can do "ssh -t vi", for instance), and it also sets the TERM
variable on the remote end.

Danek



Messages sorted by: Reverse Date, Date, Thread, Author