I started again.
I followed the following instructions on the wiki
http://wiki.amahi.org/index.php/Key-Based_SSH_Logins.
Removed the public and privat keys, generated them again and put the public file in the folder .ssh.
When I start putty and fill in the IP of my server I can login at the server.
login as: Joh..
Joh..@192.168.2.10's password:
Last login: Tue Jan 12 01:08:21 2010 from h101.----.home
[Joh--@......ver ~]$
When I put My Username in the data section of Putty and the location of the private key in putty i get
Using username "Joh..".
Server refused our key
Joh..@192.168.2.10's password:
Then I can login with the use of my login name and password.
I saw that my privat key is loading but somehow there is somthing going wrong.
I looked at my firewall ( Zonealarm) but that is not it. ssh with putty is allowed.
It has to be something on the server. But I do not know what .
Does somebody have a clue?