Unique SSH key for accessing droplet via different computers

  • Posted on September 22, 2014
  • seanwashAsked by seanwash

Do I need an unique key for each computer I use to access the same droplet?

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

No, but it is good practice to keep your keys unique to each computer.

Say your laptop is stolen: just delete that key from your servers authorized_keys file and your done… you still have access from your desktop, but the laptop can no longer access your servers.

Having said that: if you only have a laptop, and it crashes, but you salvage all of your files…you can just use the same key on your new computer without having to generate new keys and such. (this happened to me recently, all keys worked fine on my new desktop)

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.