Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

RE: Private Key file format?

From: Wilson, Richard E <richard.wilson(at)eds.com>
Date: Wed Jan 29 2003 - 11:07:45 EST


Beau,

The id_rsa.pub (and/or id_dsa.pub if you generate one with ssh-keygen -t dsa) go into the remote systems ~/.ssh/authorized_keys2 file. The file ~/.ssh/suthorized_keys is used by SSH protocol v1 and would hold the contents of ~/.ssh/identity.pub (generated with a ssh-keygen -t rsa1).

Richard Wilson

-----Original Message-----
From: Beau Sapach [mailto:beau.sapach@ualberta.ca] Sent: Tuesday, January 28, 2003 1:24 PM
To: secureshell@securityfocus.com
Subject: Private Key file format?

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.

Do you need help?X

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 18:20:34 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