Todd Walton wrote:
To get into my girlfriend's
computer, for example, I would type "ssh [EMAIL PROTECTED]". My
login name is "todd", and her computer is called
"snake.dyndns.org"[1].
ssh snake.dyndns.org -l todd
may be required instead depending upon ssh vendor.
If you want to run X (GUI) programs, you can do that, too, but it
takes some extra set up involving a "ForwardX11" variable.
I believe that this is only required on the server (sshd). It should be
located somewhere in a file called "sshd_config"--generally under
/etc/ssh. "locate sshd_config" is your friend. There is likely a line
in there that looks like this:
#X11Forwarding no
You need to remove the comment character and change it to yes like so:
X11Forwarding yes
After that change, you need to restart sshd. Either do the kill -HUP
dance or reboot the machine.
On the client you will likely need to use:
ssh -Y [EMAIL PROTECTED]
The -Y is important because it allows some form of auxiliary requests to
go through which Gtk and KDE both demand (but only for certain
programs). If you have an older version of ssh, "-Y" may not work, try
"-X". If that doesn't work, upgrade. Your ssh is old enough that it
has too many security holes.
Then, any
X programs you start on her computer ("gtkpod", for example) will
appear on your computer, assuming you have X running. I've never done
this myself, so I can't tell you anything more about it.
ssh automatically sets the DISPLAY envirnoment variable correctly to
open the X11 stuff on your local machine.
I would
think, however, that running all that GUI data back and forth over a
dialup connection would be a bit painful.
It is, but I do it when required.
-a
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list