Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #222051

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

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Remote terminal: xterm -e ssh <host> vs. ssh <host> xterm
Date 2020-04-28 20:20 +0200
Message-ID <A0CZP-6Cn-3@gated-at.bofh.it> (permalink)
References <A0AY1-5s4-5@gated-at.bofh.it> <A0CwN-6dv-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Remote terminal: xterm -e ssh <host> vs. ssh <host> xterm "Steve Keller" <keller.steve@gmx.de> - 2020-04-28 18:10 +0200
  Re: Remote terminal: xterm -e ssh <host> vs. ssh <host> xterm Greg Wooledge <wooledg@eeg.ccf.org> - 2020-04-28 18:10 +0200
    Re: Remote terminal: xterm -e ssh <host> vs. ssh <host> xterm "Thomas Schmitt" <scdbackup@gmx.net> - 2020-04-28 19:10 +0200
      Re: Remote terminal: xterm -e ssh <host> vs. ssh <host> xterm David Wright <deblis@lionunicorn.co.uk> - 2020-04-28 20:20 +0200
  Re: Remote terminal: xterm -e ssh <host> vs. ssh <host> xterm Dan Purgert <dan@djph.net> - 2020-04-28 19:50 +0200
    Re: Remote terminal: xterm -e ssh <host> vs. ssh <host> xterm David Wright <deblis@lionunicorn.co.uk> - 2020-04-28 20:20 +0200
  Re: Remote terminal: xterm -e ssh <host> vs. ssh <host> xterm "Russell L. Harris" <russell@rlharris.org> - 2020-04-28 21:10 +0200
    Re: Remote terminal: xterm -e ssh <host> vs. ssh <host> xterm l0f4r0@tuta.io - 2020-04-28 21:40 +0200
  Re: Remote terminal: xterm -e ssh <host> vs. ssh <host> xterm Bob McGowan <ramjr0915@gmail.com> - 2020-04-28 22:50 +0200

csiph-web