[plug] ssh & X window

Christian christian at amnet.net.au
Thu Oct 18 09:07:56 WST 2001


On Wed, Oct 17, 2001 at 10:59:19PM +0800, Jason Belcher wrote:
> 
> On the local host (ie. the computer you want to display the program on):
> xhost +[remote computer name]

This is *completely* unnecessary if you're using SSH and potentially a
huge security hole.  DON'T DO IT! 

SSH will automatically set up X authentication if you use the '-X'
option on the command line (assuming the server is configured to allow
this).  Supposedly you can configure the SSH client to automatically do
this but I've never been able to get OpenSSH to do it correctly so I
just always use the '-X' option.  Whatever you do though, don't use
'xhost +anything' if you're using SSH.  Doing so is a little like
carting around a case full of valuables in a covertible when an amoured
van is there and at your disposal.

-- 
DSA 0x0EC1D28C: BBCB 0D79 4EBB 078A A066  7267 8BED E9D6 0EC1 D28C



More information about the plug mailing list