From owner-freebsd-stable@FreeBSD.ORG Thu Aug 14 15:30:51 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E3C0106567D for ; Thu, 14 Aug 2008 15:30:51 +0000 (UTC) (envelope-from spomerg@cwu.EDU) Received: from donald.cts.cwu.edu (donald.cts.cwu.edu [198.104.67.147]) by mx1.freebsd.org (Postfix) with ESMTP id B9CEE8FC1F for ; Thu, 14 Aug 2008 15:30:50 +0000 (UTC) (envelope-from spomerg@cwu.EDU) Received: from CONVERSION-CWU-DAEMON.DONALD.CTS.CWU.EDU by DONALD.CTS.CWU.EDU (PMDF V6.4 #31640) id <01MYCC4MMOEO000S07@DONALD.CTS.CWU.EDU> for freebsd-stable@freebsd.org; Thu, 14 Aug 2008 08:30:50 -0700 (PDT) Received: from hermes.cwu.edu (hermes.cwu.edu [172.16.21.28]) by DONALD.CTS.CWU.EDU (PMDF V6.4 #31640) with ESMTP id <01MYCC4MEFPU000S09@DONALD.CTS.CWU.EDU> for freebsd-stable@freebsd.org; Thu, 14 Aug 2008 08:30:50 -0700 (PDT) Received: from cwugate1-MTA by hermes.cwu.edu with Novell_GroupWise; Thu, 14 Aug 2008 08:30:49 -0700 Date: Thu, 14 Aug 2008 08:30:47 -0700 From: Gavin Spomer To: freebsd-stable@freebsd.org Message-id: <48A3ED37020000900001C154@hermes.cwu.edu> MIME-version: 1.0 X-Mailer: Novell GroupWise Internet Agent 7.0.3 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: quoted-printable Content-disposition: inline Subject: Re: ssh-keygen between SuSE and FreeBSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2008 15:30:51 -0000 >=20 >>> Paul Schmehl 08/13/08 7:18 PM >>> > --On August 13, 2008 5:35:29 PM -0700 Gavin Spomer = 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