Puttygen tutorial
It appears that DigitalOcean is currently experiencing some issues getting the password emails for new droplets out, as well as password reset e-mails, so quite a few users are having problems getting into new droplets.
While I hope DO gets that fixed quickly, here’s an emergency walkthrough to use ssh keys instead of passwords to side-step the problem.
Note that it only works for new droplets, not existing ones!
Now when you create a new droplet, there is an “Add optional SSH Keys” section. Select the key there, and it will be loaded into the droplet when it is created.
- Open a terminal
- Run ls ~/.ssh/. If it returns an error that the directory doesn’t exist, or shows a directory listing that does not show a file called id_rsa, run the command ssh-keygen. You can just hit enter on all prompts.
- Run cat ~/.ssh/id_rsa.pub and copy the output