on the server, I created a key with "ssh_keygen" which made an id_rsa and id_rsa.pub in the .ssh folder.
I then copied the public key into the authorized keys file with "cat .ssh/id_rsa.pub > .ssh/authorized_keys"
Then copied the id_rsa private key to a remote computer and put it in .ssh/id_rsa but when I try to connect with "ssh username@server" it still prompts for a password.
I also tried copying the id_rsa to a Windows workstation, converted it with puttygen and tried to use it from Putty. That is where I get the error "Server refused our key" and prompt for a password.
Any ideas how to troubleshoot this? I've double checked everything and it looks like I've done everything I need to.
The server is RHEL 5.0, btw.
I then copied the public key into the authorized keys file with "cat .ssh/id_rsa.pub > .ssh/authorized_keys"
Then copied the id_rsa private key to a remote computer and put it in .ssh/id_rsa but when I try to connect with "ssh username@server" it still prompts for a password.
I also tried copying the id_rsa to a Windows workstation, converted it with puttygen and tried to use it from Putty. That is where I get the error "Server refused our key" and prompt for a password.
Any ideas how to troubleshoot this? I've double checked everything and it looks like I've done everything I need to.
The server is RHEL 5.0, btw.