Change in behavior from 2.5p2 to 2.9p1

Lutz Jaenicke Lutz.Jaenicke at aet.TU-Cottbus.DE
Mon May 14 05:11:18 EST 2001


On Sun, May 13, 2001 at 01:59:22PM -0400, Aaron Dudek wrote:
> Under 2.5p2, if I ssh'd back to myself I would get a prompt asking for my 
> passphrase, and if that was incorrect it would then ask for my password. 
> Assuming I had a authorized_keys file with my identity.pub in it.
> Under 2.9.p1 it goes straight to enter password instead of asking for my 
> passphrase.
> This wouldn't be a problem except that when I have "PasswordAuthentication 
> no" I get the following error:
> Permission denied (publickey)
> 
> Can someone please help me understand why this behavior changed and how to 
> fix it if possible. It looks like something to do with using ssh2 from 
> looking at the verbose output.

Please be aware that 2.9p1 will do SSH-2 by default. You need another set
of keys with SSH-2. These are usually called id_rsa[.pub] and/or id_dsa[.pub]
and the public keys are now in authorized_keys2.

You cannot use the old keys for the new protocol.
Use "ssh-keygen -t rsa" to generate a RSA key for protocol 2.

Best regards,
	Lutz
-- 
Lutz Jaenicke                             Lutz.Jaenicke at aet.TU-Cottbus.DE
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153



More information about the openssh-unix-dev mailing list