question on using keys

Peter Stuge peter at stuge.se
Mon Mar 9 07:06:57 EST 2009


John Griessen wrote:
..
> -rw-------   1 john john     397 2009-03-07 15:04 authorized_keys2

Rename this to authorized_keys and it should work. authorized_keys2
is a very old filename that recent versions of OpenSSH do not use
anymore.


> debug3: Not a RSA1 key file /home/routem/.ssh/id_rsync_rsa.
> debug2: key_type_from_name: unknown key type '-----BEGIN'
> debug3: key_read: missing keytype
> debug3: key_read: missing whitespace

This is as expected. The file is an RSA key file for use with SSH
protocol version 2.


> after the above wrong looking log lines this also looks suspicious:
> 
> debug2: key: /home/routem/.ssh/id_rsync_rsa (0x7007dae0)

This is also as expected. ssh has now loaded your key.


Keyfile handling was unified so that the user does not have to say
which type of key each file contains. The flip side is that there
will always be an error message.


//Peter


More information about the openssh-unix-dev mailing list