public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] problem with ssh login
@ 2007-07-30 15:44 Marco Calviani
  2007-07-31  7:20 ` Mick
  0 siblings, 1 reply; 4+ messages in thread
From: Marco Calviani @ 2007-07-30 15:44 UTC (permalink / raw
  To: gentoo-user

Hi lists,
   i'm trying to remotely login to a Gentoo box via ssh. However (and
the behaviour is the same from different machines) whenever i try to
login the procedure hangs before recognizing the remote protocol
version:

ssh -vvv pippo@pluto

OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: ssh_connect: needpriv 0
...
[snip]
...
ebug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /home/pippo/.ssh/id_rsa type 1
debug1: identity file /home/pippo/.ssh/id_dsa type -1

[hangs here]

i can only do a Crtl+C and abort the ssh login session.

What can be the cause of this behaviour?

Thanks in advance,
Marco
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] problem with ssh login
  2007-07-30 15:44 Marco Calviani
@ 2007-07-31  7:20 ` Mick
  0 siblings, 0 replies; 4+ messages in thread
From: Mick @ 2007-07-31  7:20 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 659 bytes --]

On Monday 30 July 2007 16:44, Marco Calviani wrote:
> Hi lists,
>    i'm trying to remotely login to a Gentoo box via ssh. However (and
> the behaviour is the same from different machines) whenever i try to
> login the procedure hangs before recognizing the remote protocol
> version:
[snip...]

I assume that you are trying to login via public key authentication.  If this 
is correct then the key file has some formatting error in it.  How did you 
create it?

A second possibility (but less likely) is that the access rights of the pub 
key file on the server and, or of the private key on the client, are wrong.

HTH.
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] problem with ssh login
@ 2007-07-31 14:41 James
  2007-08-03 18:22 ` Eric Martin
  0 siblings, 1 reply; 4+ messages in thread
From: James @ 2007-07-31 14:41 UTC (permalink / raw
  To: gentoo-user

> Hi lists,
>    i'm trying to remotely login to a Gentoo box via ssh. However (and
> the behaviour is the same from different machines) whenever i try to
login the procedure hangs before recognizing the remote protocol
version:
>
> ssh -vvv pippo@pluto
>
> OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug2: ssh_connect: needpriv 0
> ...
> [snip]
> ...
> ebug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug2: key_type_from_name: unknown key type '-----END'
> debug3: key_read: missing keytype
> debug1: identity file /home/pippo/.ssh/id_rsa type 1
> debug1: identity file /home/pippo/.ssh/id_dsa type -1
>
> [hangs here]
>
> i can only do a Crtl+C and abort the ssh login session.
>
> What can be the cause of this behaviour?
>
> Thanks in advance,
> Marco
> --
> gentoo-user@gentoo.org mailing list
>
>
Sounds like your local key can't be read.
Check the permissions and regen the key if the file permissions are right.



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] problem with ssh login
  2007-07-31 14:41 [gentoo-user] problem with ssh login James
@ 2007-08-03 18:22 ` Eric Martin
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Martin @ 2007-08-03 18:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1437 bytes --]

Are you trying to authenticate via public keys or passwords?  This seems
like a problem with pub keys but I don't see a -i (identity file) for ssh.
Are you using an agent?

On 7/31/07, James <bjlockie@lockie.ca> wrote:
>
> > Hi lists,
> >    i'm trying to remotely login to a Gentoo box via ssh. However (and
> > the behaviour is the same from different machines) whenever i try to
> login the procedure hangs before recognizing the remote protocol
> version:
> >
> > ssh -vvv pippo@pluto
> >
> > OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006
> > debug1: Reading configuration data /etc/ssh/ssh_config
> > debug2: ssh_connect: needpriv 0
> > ...
> > [snip]
> > ...
> > ebug3: key_read: missing whitespace
> > debug3: key_read: missing whitespace
> > debug3: key_read: missing whitespace
> > debug3: key_read: missing whitespace
> > debug2: key_type_from_name: unknown key type '-----END'
> > debug3: key_read: missing keytype
> > debug1: identity file /home/pippo/.ssh/id_rsa type 1
> > debug1: identity file /home/pippo/.ssh/id_dsa type -1
> >
> > [hangs here]
> >
> > i can only do a Crtl+C and abort the ssh login session.
> >
> > What can be the cause of this behaviour?
> >
> > Thanks in advance,
> > Marco
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
> Sounds like your local key can't be read.
> Check the permissions and regen the key if the file permissions are right.
>
>
>
> --
> gentoo-user@gentoo.org mailing list
>
>

[-- Attachment #2: Type: text/html, Size: 2000 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-08-03 18:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-31 14:41 [gentoo-user] problem with ssh login James
2007-08-03 18:22 ` Eric Martin
  -- strict thread matches above, loose matches on Subject: below --
2007-07-30 15:44 Marco Calviani
2007-07-31  7:20 ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox