Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Private Key file format?

From: Beau Sapach <beau.sapach(at)ualberta.ca>
Date: Tue Jan 28 2003 - 14:23:47 EST


Hello everyone,

I've got openssh installed via packages from sunfreeware on a sparc/solaris8 system. I've run ssh-keygen -t rsa to generate my public/private key pair and then copied ~/.ssh/id_rsa.pub into ~/.ssh/authorized_keys. To my understanding this should allow me to ssh into localhost without supplying a password. I've checked ssh_config and sshd_config to ensure that both have PubkeyAuthentication set to yes, and that the proper identity files are set. Still ssh localhost will prompt for a password. When I run ssh -v -v -v localhost I get the following:

debug1: identity file /home/beau/.ssh/identity type 0
debug3: Not a RSA1 key file /home/beau/.ssh/id_rsa.
debug3: key_read: no space
debug1: identity file /home/beau/.ssh/id_rsa type 1
debug3: Not a RSA1 key file /home/beau/.ssh/id_dsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: no key found
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: no key found
debug1: identity file /home/beau/.ssh/id_dsa type 2

It looks to me like ssh fails to read the private key file. Has anyone else seen this? Does anyone know what's going on here?

Beau Received on Wed Jan 29 10:36:16 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:52 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library