> From: Bill Cook <[EMAIL PROTECTED]>
> Date: Wed, 26 Apr 2000 15:45:10 -0400
> Subject: Re: about GUI
> 
> I'm in a similar position.  After installing ssh2, I either ssh2 (from 
> Win98) into my AIX box or I use eXceed/Win to enable use of AIX's CDE 
> desktop.  My understanding is that access via eXceed/Win is not 
> secure.  I'm not sure you'll be successful trying to bring up the GUI from 
> an ssh2 connection.  Thoughts?

That is the main reason I use ssh, to secure X connections to servers I need to
access with X. (It also gives us a valid reason to refuse telnet access!:):) By
default, ssh forwards X connections over it's connection. So all you should have to
do is run an X server on the machine you are connecting from, and set your DISPLAY
properly on the server after you ssh in.

BTW, for those of you that use tcsh as your shell, there is an env var set by tcsh
called REMOTEHOST, and it is set to the host you cannected from. I have this in my
.cshrc:

setenv DISPLAY $REMOTEHOST:0.0

so my DISPLAY is set for me when I log in. Of course, with this, if you ssh to one
machine, and then ssh to another from there, your DISPLAY will not be set right. :):)
But then, you set it by hand. No big deal. :)



David McCabe  Unix System Administrator
Le Groupe Videotron [EMAIL PROTECTED]   (514) 380 4433

Drag me, drop me, make me feel like an object.

Reply via email to