Help with openSSH <> Putty interaction

Hello,

I have difficulties to find how to configure SSH and Putty properly so that they can work together.

What I want to do is turn off the password option for root access and have Putty and WinSCP use a public/private key instead.

What I have done so far :
- Create a public key locally on my computer with Putty Key Generator
- From the created public key, export a private key in openSSH format
- Upload the private key as /etc/ssh/ssh_host_rsa_key
- Configure putty to look for the right public key on my computer.
- Edit sshd_config with the following parameters

Code:
HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key

PasswordAuthentication no
It looks like I'm doing something wrong because Putty can't connect anymore to the server.

Does someone know what I am forgetting?

Thanks for the help.

 

 

 

 

Top