Question

How to fix error: server refused our keys

Posted July 12, 2020 255 views
DigitalOcean

I am using MobaXterm. when I go for login to the server, I get error: “server refused our keys” Please anybody help me with MobaXterm how can I fix this problem.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi @pramod0021a,

It seems like your key doesn’t match the ones you have on your droplet. What I’ll recommend is to add the key from your local environment

  • ~/.ssh/idrsa.pub on the droplet here - ~/.ssh/authoroziedkeys.

If this doesn’t work again, I’ll recommend trying to regenerate the key on the local environment you are connecting from.

Regards,
KFSys

Submit an Answer