2.9: RSAAuthentication problems

Markus Friedl Markus.Friedl at informatik.uni-erlangen.de
Sat May 5 09:51:52 EST 2001


On Sat, May 05, 2001 at 01:40:41AM +0200, Phil Pennock wrote:
> I'm using an OpenBSD 2.9 snapshot on i386.  "ssh -V" reveals
> OpenSSH_2.9, yada yada.
> 
> I generated a keypair using ssh-keygen and accepting defaults.  I copied
> the public key to another box, stuck it in ~/.ssh/authorized_keys with
> host restriction and then tried to use it.  Failed.  Removed the host
> restriction, still failed.  Just get asked for password.

this is a SSH1 key, however, you are connecting with protocol v2.

use 
	ssh-keygen -t rsa -f RSA
and
	cat RSA.pub > ~/.ssh/authorized_keys2
	ssh-add RSA
	ssh localhost

this should work.



More information about the openssh-unix-dev mailing list