From owner-freebsd-questions Tue Sep 4 5:46:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cartman.private.techsupport.co.uk (cabletel1.cableol.net [194.168.3.4]) by hub.freebsd.org (Postfix) with ESMTP id 19B8C37B409 for ; Tue, 4 Sep 2001 05:46:49 -0700 (PDT) Received: from ceri by cartman.private.techsupport.co.uk with local (Exim 3.31 #1) id 15eFbc-0006xy-00; Tue, 04 Sep 2001 13:47:04 +0100 Date: Tue, 4 Sep 2001 13:47:03 +0100 From: Ceri To: Odhiambo Washington Cc: freebsd-questions@freebsd.org Subject: Re: SSH and connection automation Message-ID: <20010904134703.A26451@cartman.private.techsupport.co.uk> References: <20010903171657.A31458@ns2.wananchi.com> <20010903130118.D4A5C59D8@mark9.vladsempire.net> <20010904133449.H30499@ns2.wananchi.com> <20010904114259.A5560@cartman.private.techsupport.co.uk> <20010904134717.J30499@ns2.wananchi.com> <20010904115222.A7708@cartman.private.techsupport.co.uk> <20010904140600.K30499@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010904140600.K30499@ns2.wananchi.com>; from wash@wananchi.com on Tue, Sep 04, 2001 at 02:06:00PM +0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Sep 04, 2001 at 02:06:00PM +0300, Odhiambo Washington said: > | > | > debug: Bad key file /home/wash/.ssh/identity. > | > | I really don't like this line. > | > | Do you get something similar to this ? > | > | [ceri@cartman ceri]$ head -1 /home/ceri/.ssh/identity > | SSH PRIVATE KEY FILE FORMAT 1.1 > | [ceri@cartman ceri]$ > | > | If not, I suggest you generate a new keypair. > > This is what I get: > > wash:~$ head -1 /home/wash/.ssh/identity > -----BEGIN DSA PRIVATE KEY----- > > How do I generate my keys? I've even tried the one below: > > ssh-keygen -d -b 2048 -N some_pass_phrase > > ..and I get > > wash:~$ head -1 /home/wash/.ssh/identity2 > -----BEGIN DSA PRIVATE KEY----- > > Any more clues?? Yup - that's a DSA key, and therefore should be in $HOME/.ssh/id_dsa If ssh-keygen is putting it in $HOME/.ssh/identity then that's a bug. Ceri -- Your local RFC Nazi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message