How do change the ssh keys

April 24, 2015 4.1k views
Security System Tools Ubuntu

I I try to change the ssh keys in my droplet but can"t works all times when I try to connect the msg are:

server refused our key

3 Answers

The ssh keys for your droplet are located in /root/.ssh/authorized_keys you can paste your public keys in this file and remove ones you no longer wish to use.

ahh is in there..

thanks a lot works

I tried it and it doesn't work.
Ples you can give me more details to change the ssh keys in my droplet .

Have another answer? Share your knowledge.