I just upgraded from 2.4.0 to 3.0.1 and I'm experiencing key
authentication problems that I didn't have before the upgrade.

I ran ssh w/ -v and this line caught me by surprise:

debug: server offers auth methods 'password' (previous method was successful but
more required).

I didn't have this problem w/ 2.4.0.  Keys were setup as required w/ no
authentication problems.  I even created a new key pair w/ the same
results.

If anyone has any idea as to what's happening is greatly appreciated.

These were the steps taken for key authentication:

1. Create the identification file:
   echo "IdKey hostkey" >identification
2. Create user's hostkey pair:
   ssh-keygen -P -b 1024 -t dsa -c "user@hostname" hostkey
3. Create publickey:
   ssh-keygen -F hostkey.pub
4. Echo string into publickey.pub
   echo "<string>" >publickey.pub
5. Copy hostkey.pub to filename of your choosing. I.E.:
   cp hostkey.pub Local.pub/hostkey.pub-username@hostname
6. create authorization file.  Place hostkey location w/ string:
   Key        Local.pub/hostkey.pub-username@hostname
7. Option: copy ssh2_config file into your ~/.ssh2 directory
   and sshd2_config.

This worked for 2.4.0.

- Wally Winzer Jr.

Reply via email to