Can I re-use SSH keys?

June 6, 2013 3.7k views
I just created a droplet for the first time (and this is my first time with any server). I'm now on the SSH keys page, where the first instruction tells us to check if SSH keys exist, and then it gives instructions for generating new SSH keys. In my case, using the command that the instructions gave, I discovered that I already have SSH keys (which I'm guessing I generated when I signed up for github or heroku) Questions 1) Should I reuse this SSH keys or generate new keys? 2) The instructions talk about adding SSH keys to digital ocean and then creating a server. In my case, I created the droplet before adding SSH keys. Will this create any kind of problem I should be aware of?
2 Answers
1) If you can't recall where the keys came from, you should create a new pair. The SSH key replaces the password of the selected account so the private key is top secret. You should also create the keys on your local computer to make sure the private key isn't sent over the internet.

There's a nice tutorial: (I used 4096 bits instead of 2048).

2) As far as I remember, adding a new Key does nothing to your current droplets. It only adds the option to add them to new ones. To use your key on an existing droplet you have to add the public key manually to ~/.ssh/authorized_keys
I can confirm LazyTiger's second point. Adding keys to your DO account doesn't touch any extant droplet.
Have another answer? Share your knowledge.