sshd+ssh localhost connects, but don't reach the shell
Vilar Camara
vilarneto@hotmail.com
Tue May 30 15:09:00 GMT 2006
> > debug3: Not a RSA1 key file /home/vilarnt/.ssh/id_rsa.
> > debug2: key_type_from_name: unknown key type '-----BEGIN'
> > debug3: key_read: missing keytype
> > debug2: key_type_from_name: unknown key type 'Proc-Type:'
> > debug3: key_read: missing keytype
> > debug2: key_type_from_name: unknown key type 'DEK-Info:'
> > debug3: key_read: missing keytype
> > debug3: key_read: missing whitespace
> > (previous line repeated many times)
> > debug2: key_type_from_name: unknown key type '-----END'
>
> Ok, let's take a look at this. Here's what mine looks like
>
>-----BEGIN RSA PRIVATE KEY-----
>Proc-Type: 4,ENCRYPTED
>DEK-Info: DES-EDE3-CBC,0..............B
>
>xO.........................CENSORED!............................
>...........................CENSORED!............................
> [ repeat many lines of base64 gibberish ]
>...........................CENSORED!..........................BS
>-----END RSA PRIVATE KEY-----
>
>Does yours look the same way?
Well, depends. If I give a passphrase during "ssh-user-config" the format is
exactly as you've described. If I give blank passphrases, then the file
lacks "Proc-Type", "DEK-Info" and the following blank line.
>Does 'od -c <id_rsa' show any '\r' chars?
No, only '\n's. " od -c < .ssh/id_rsa | grep -c '\\r' " shows 0.
--
Regards,
Vilar Camara Neto
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list