Date: Tue, 4 Sep 2001 13:47:03 +0100 From: Ceri <ceri@techsupport.co.uk> To: Odhiambo Washington <wash@wananchi.com> Cc: freebsd-questions@freebsd.org Subject: Re: SSH and connection automation Message-ID: <20010904134703.A26451@cartman.private.techsupport.co.uk> In-Reply-To: <20010904140600.K30499@ns2.wananchi.com>; from wash@wananchi.com on Tue, Sep 04, 2001 at 02:06:00PM %2B0300 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010904134703.A26451>