Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2008 08:30:47 -0700
From:      Gavin Spomer <spomerg@cwu.EDU>
To:        freebsd-stable@freebsd.org
Subject:   Re: ssh-keygen between SuSE and FreeBSD
Message-ID:  <48A3ED37020000900001C154@hermes.cwu.edu>

next in thread | raw e-mail | index | archive | help
>=20
>>> Paul Schmehl <pschmehl_lists@tx.rr.com> 08/13/08 7:18 PM >>>
> --On August 13, 2008 5:35:29 PM -0700 Gavin Spomer <spomerg@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':
>=20
> Just to be clear....you're saying that your key pass*phrase* doesn't =
work=20
> and you have to type your pass*word* in instead?  Or did you make all =
your=20
> previous keys passphrase-less and add a passphrase to this one?
>=20
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48A3ED37020000900001C154>