Gentoo Archives: gentoo-user

From: Eric Martin <freak4uxxx@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] problem with ssh login
Date: Fri, 03 Aug 2007 18:28:05
Message-Id: ae47c6e50708031122h73548f5bif008cfba536493d5@mail.gmail.com
In Reply to: Re: [gentoo-user] problem with ssh login by James
1 Are you trying to authenticate via public keys or passwords? This seems
2 like a problem with pub keys but I don't see a -i (identity file) for ssh.
3 Are you using an agent?
4
5 On 7/31/07, James <bjlockie@××××××.ca> wrote:
6 >
7 > > Hi lists,
8 > > i'm trying to remotely login to a Gentoo box via ssh. However (and
9 > > the behaviour is the same from different machines) whenever i try to
10 > login the procedure hangs before recognizing the remote protocol
11 > version:
12 > >
13 > > ssh -vvv pippo@pluto
14 > >
15 > > OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006
16 > > debug1: Reading configuration data /etc/ssh/ssh_config
17 > > debug2: ssh_connect: needpriv 0
18 > > ...
19 > > [snip]
20 > > ...
21 > > ebug3: key_read: missing whitespace
22 > > debug3: key_read: missing whitespace
23 > > debug3: key_read: missing whitespace
24 > > debug3: key_read: missing whitespace
25 > > debug2: key_type_from_name: unknown key type '-----END'
26 > > debug3: key_read: missing keytype
27 > > debug1: identity file /home/pippo/.ssh/id_rsa type 1
28 > > debug1: identity file /home/pippo/.ssh/id_dsa type -1
29 > >
30 > > [hangs here]
31 > >
32 > > i can only do a Crtl+C and abort the ssh login session.
33 > >
34 > > What can be the cause of this behaviour?
35 > >
36 > > Thanks in advance,
37 > > Marco
38 > > --
39 > > gentoo-user@g.o mailing list
40 > >
41 > >
42 > Sounds like your local key can't be read.
43 > Check the permissions and regen the key if the file permissions are right.
44 >
45 >
46 >
47 > --
48 > gentoo-user@g.o mailing list
49 >
50 >