How do change the ssh keys

April 24, 2015 12.1k views
Ubuntu Security System Tools

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.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!