Introduction:
after setting up the ssh private and public key, error message coming "Server refused our key"
Resolution:
Check the following steps and check if it resolve the issue.
1- login to server and switch to root user
2- go to /home/user_not_connecting_with_ssh e.g. /home/testuser
3- go to .ssh
4- vi the authorized_keys
5- insert the following on the first line and make sure there is space at the end of the following
ssh-rsa
6- test the issue
No comments:
Post a Comment