[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Remote terminal: xterm -e ssh <host> vs. ssh <host> xterm



On Tue 28 Apr 2020 at 13:43:16 (-0400), Dan Purgert wrote:
> On Apr 28, 2020, Steve Keller wrote:
> > What are best practices to create a remote terminal?  I see to ways:
> > Create a local terminal emulator and run ssh to the remote host in
> > that or call ssh to run the terminal emulator on the remote host,
> > i.e.
> > 
> >     xterm -e ssh -X <host>      or      ssh -X <host> xterm -ls
> > 
> > What are pros and cons?  I see one: The latter will produce more
> > overhead as it runs the X11 protocol through the ssh tunnel.
> 
> I must be missing something key - what's wrong with "ssh user@host" ?

I presume the OP is setting up a menu item. You and I are probably
typing into an xterm (or similar) already).

Also I presume that the OP wants the same username at host.

Cheers,
David.


Reply to: