Dendiestdennis
Verified User
- Joined
- Mar 9, 2016
- Messages
- 21
I'trying to login with a reseller through ssh with an ssh-2 RSA key
I've put the public-key in (user)/.ssh/authorized_key and using the private key with putty. Everytime i try to log in i get the message "server refuses our key"
when i try the same ssh-2 RSA key on root account(with the public_key stored in /root/.ssh/authorized_key) i can login with no problems...
I also tried after changing the /etc/ssh/sshd_config removed the # in front of PubkeyAuthentication yes
and restarted the sshd service, but stil no luck....
(yes i know it is not recommended to give resellers ssh access)
Please some advice
Regards,
Dennis.
I've put the public-key in (user)/.ssh/authorized_key and using the private key with putty. Everytime i try to log in i get the message "server refuses our key"
when i try the same ssh-2 RSA key on root account(with the public_key stored in /root/.ssh/authorized_key) i can login with no problems...
I also tried after changing the /etc/ssh/sshd_config removed the # in front of PubkeyAuthentication yes
and restarted the sshd service, but stil no luck....
(yes i know it is not recommended to give resellers ssh access)
Please some advice
Regards,
Dennis.