Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Cannot login with publickey on sshd
Date: Tue, 02 Dec 2008 06:41:51
Message-Id: 200812020635.26872.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Cannot login with publickey on sshd by Mick
1 On Monday 01 December 2008, Mick wrote:
2 > On Monday 01 December 2008, Eric Martin wrote:
3 > > What did you use to generate the key? Also, what does the client /
4 > > server say for the key fail?
5 >
6 > I used something like: ssh-keygen -v -t rsa -b 2048. I have even generated
7 > a second key pair and tried that too, with no success.
8 >
9 > The client messages are in the first message I sent to the list - basically
10 > showing this:
11 > ====================================================
12 > debug1: Connection established.
13 > debug3: timeout: 14828 ms remain after connect
14 > debug3: Not a RSA1 key file /home/michael/.ssh/.ssh/id_rsa.
15 > debug2: key_type_from_name: unknown key type '-----BEGIN'
16 > debug3: key_read: missing keytype
17 > debug2: key_type_from_name: unknown key type 'Proc-Type:'
18 > debug3: key_read: missing keytype
19 > debug2: key_type_from_name: unknown key type 'DEK-Info:'
20 > debug3: key_read: missing keytype
21 > debug3: key_read: missing whitespace
22 > debug3: key_read: missing whitespace
23 > debug3: key_read: missing whitespace
24 > debug3: key_read: missing whitespace
25 > debug3: key_read: missing whitespace
26 > debug3: key_read: missing whitespace
27 > debug3: key_read: missing whitespace
28 > debug3: key_read: missing whitespace
29 > debug3: key_read: missing whitespace
30 > debug3: key_read: missing whitespace
31 > debug3: key_read: missing whitespace
32 > debug3: key_read: missing whitespace
33 > . . .
34 > debug3: key_read: missing whitespace
35 > debug3: key_read: missing whitespace
36 > debug3: key_read: missing whitespace
37 > debug3: key_read: missing whitespace
38 > debug2: key_type_from_name: unknown key type '-----END'
39 > debug3: key_read: missing keytype
40 > ====================================================
41 >
42 > The server messages are shown here:
43 >
44 > http://pastebin.centos.org/22705
45
46 I have now also tried to generate a key pair on the server, move the private
47 key over to the client and then try to login - still no result! :-(
48
49 It has to be some sort of incompatibility between the two versions of OpenSSH.
50 Don't know what else to assume with this problem.
51 --
52 Regards,
53 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Cannot login with publickey on sshd Eric Martin <freak4uxxx@×××××.com>