pty-wrapper

Brett Worth brettw at cray.com.au
Mon Jul 22 23:24:56 EST 2002


On Mon, 22 Jul 2002, Rasjid Wilcox wrote:

> I'm after a utility that 'wraps' up the tty (or is it the pty?), standard in 
> and standard out of a process, so it can be controlled by standard in and 
> standard out (of the utility).  This is mainly to enable the writing of a GUI 
> frontend for a utility to talk to ssh.

Does the -tt option on ssh itself do what you want?

" -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.

"


-- 
Brett





More information about the linux mailing list