Re: [gentoo-user] problem with ssh login
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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] > > > > 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 > > -- > > [EMAIL PROTECTED] mailing list > > > > > Sounds like your local key can't be read. > Check the permissions and regen the key if the file permissions are right. > > > > -- > [EMAIL PROTECTED] mailing list > >
Re: [gentoo-user] problem with ssh login
> 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 [EMAIL PROTECTED] > > 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 > -- > [EMAIL PROTECTED] mailing list > > Sounds like your local key can't be read. Check the permissions and regen the key if the file permissions are right. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] problem with ssh login
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 pgpqXk0YNsRoh.pgp Description: PGP signature
[gentoo-user] problem with ssh login
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 [EMAIL PROTECTED] 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 -- [EMAIL PROTECTED] mailing list