Performance of ssh -X

From: Stefan Schneider (schneider_66_at_gmx.de)
Date: 09/14/04


Date: Tue, 14 Sep 2004 09:23:50 +0200

Hi all,

after some people told me that xhost is not secure, I use ssh -X now if
I have to use programs under X, KDE, ... as root on my local linux
system. Though I'm not sure if xhost is really a security problem on a
local machine.

How much processor performance does a "ssh -X root@localhost" cost? Is
there more network traffic? Could there be any problems or is it totally
stupid what I am doing? I don't see any problems with simple
configuration tools but what about CD-burning or 3D-Action games?

Thanks in advance for your comments.
Stefan



Relevant Pages

  • Re: [SLE] display remote programs on local display
    ... the ssh client can't conenct either. ... To run xhost, you have ... you first run "xhost + localhost", then become root, then ssh over, ... forwarding will probably work for you. ...
    (SuSE)
  • Re: ssh -X shop problem...
    ... Gene Heskett wrote: ... using fake authentication data for X11 forwarding. ... "gene" can't run X applications on the local system at that point, and neither can he forward X over ssh. ... Since you've used xhost to add permission to something other than localhost, you probably misunderstand how X forwarding works. ...
    (Fedora)
  • Re: Problems with SSH and X11
    ... I'll leave the "Is xhost ok here" question for others to ... When you ssh with X11 forwarding, and the remote system at least has ... appear on rock and the data is not being forwarded over ssh. ...
    (Debian-User)
  • Re: Securing SSH
    ... I agree, one should never use xhost +, this undoes all the work done by the ... -X or -Y ssh options. ... In fact using ssh -Y user@remote is good enough. ... > You should then see the Xclock on your system from the remote system. ...
    (Fedora)
  • Re: xhost RHEL3 != RHEL4
    ... I find no need to use xhost in RHEL4. ... But I did find I needed to allow X in the ssh command. ... From RHEL3 to RHEL4 there was some security improvements on gdm.conf file. ... set the DISPLAY and open the remote X windows. ...
    (RedHat)

Quantcast