xhost

dsr at tao.merseine.nu dsr at tao.merseine.nu
Sun Dec 10 19:44:13 EST 2006


On Sun, Dec 10, 2006 at 02:40:24PM -0500, Stephen Adler wrote:
> I want to tighten up my X11 setup by using xhost. I know its not a very 
> good method to
> deal with the security issues related to X11, but I want to do something.

Do something even better, then: use ssh.

ssh -X hostname

will start a remote shell session on hostname with X credentials
set up. "xterm &" should be displayed on your current X screen.

There are lots of useful enhancements; the ones which come
immediately to mind are:

- using keys and a key-agent instead of passwords
- using automatic compression
- using -n to run an X program without starting a shell session
- using port forwarding to build instant VPNs

-dsr-

-- 
.- .... -..- .-.  --. ..- .-.  --- -. --- .-..  - -. .-.. 
.--- ..- -. -.-- .-. ..-.  ... -... .  .-- .-. ..-. .... ..-.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list