[CS-FSLUG] Using SSH

Josiah Ritchie jritchie at bible.edu
Thu Oct 14 07:36:36 CDT 2004


On Thu, 14 Oct 2004 02:19:27 -0400
Don Parris <gnumathetes at gmail.com> wrote:

> O.k. gang,
> 
> It's time for Don to finally graduate to a better understanding of
> ssh.  I am now running a 7-box SUSE Linux network (8.0, but 9.2 is on
> the way).  I have successfully ssh'ed from one box to another.  I do
> need to be sure I understand correctly about generating my key-pair
> though.
> 
> I gather the process is something like:
> (1) Run ssh-keygen - give pass phrase & filename (opt)
> (2) Copy or e-mail public key to remote host & place in
> ~/.ssh/authorized_keys2
> 
> I'd like to play with the remote X session, but am not quite sure how
> this concept works.  I need to understand what is needed on the remote
> host and what is needed on the local host.  Frankly, the documentation
> I've seen just confuses me.  I've got the /etc/ssh/ssh_config file set
> to forward X11 and use password authentication so far (on one host).

You also need to mess with /etc/ssh/sshd_config on the host side. Then run
your program and it will be sent to your local computer. The sshd one needs
2 changes, X11 Forwading and XAgent (or something like that) and they
should be right next to each other. I recently setup this on my home
computer so I could edit my data in gnucash from the office. It's pretty
cool, but the program is a little slow in response. xclock is a good
program to use for testing cause it's small and will respond quickly.

I was confused at first thinking I need a parameter on the remote host like
-display localhost:0.0 or something, but that isn't true. Run it just like
you would normally.

I haven't messed with the public keys yet, maybe I should though. I'm
comfortable with passwords because I don't see myself as a high-level
target.

JSR/




More information about the Christiansource mailing list