ssh-keygen between SuSE and FreeBSD

Gavin Spomer spomerg at cwu.EDU
Thu Aug 14 15:30:51 UTC 2008


> 
>>> Paul Schmehl <pschmehl_lists at tx.rr.com> 08/13/08 7:18 PM >>>
> --On August 13, 2008 5:35:29 PM -0700 Gavin Spomer <spomerg at cwu.EDU> wrote:
> > I am able to use ssh-keygen to generate keys so that I can ssh from my
> > Mac to any of my SuSE systems or ssh from my Mac to any of my FreeBSD
> > systems, without having to enter my password. When I try the same thing
> > from a SuSE system to a FreeBSD system, (I.E. I run "ssh-keygen -t rsa"
> > on the SuSE system, then copy the id_rsa.pub to my
> > ~/.ssh/authorized_keys file on the FreeBSD system) I get the following
> > message when ssh-ing to the FreeBSD system:
> >
> >    Enter passphrase for key '/home/myusername/.ssh/id_rsa':
> 
> Just to be clear....you're saying that your key pass*phrase* doesn't work 
> and you have to type your pass*word* in instead?  Or did you make all your 
> previous keys passphrase-less and add a passphrase to this one?
> 
> Paul Schmehl

Uh, not sure. Head spinning now. ;)

1. I have a Mac, SuSE server and a FreeBSD server.
2. I can ssh from my Mac to SuSE server without having to type in my password.
3. I can ssh from my Mac to FreeBSD server without having to type in my password.
4. I can do #2 and #3 above because I ran "ssh-keygen -t rsa" on my Mac and copied the id_rsa.pub to my ~/.ssh/authorized_keys files on the SuSE and FreeBSD servers.
5. I ran the same "ssh-keygen -t rsa" on the SuSE server and copied the id_rsa.pub to the FreeBSD.
6. I canNOT ssh from the SuSE server to the FreeBSD server withOUT typing in my password.
7. When I ssh from SuSE server to FreeBSD server, I get prompted:
      Enter passphrase for key '/home/myusername/.ssh/id_rsa':
8. I want to be able to ssh from SuSE server to FreeBSD server because I want to run scp via a cron job.

I noticed you made a distinction between password and passphrase. Could you please explain the difference?

- Gavin


More information about the freebsd-stable mailing list