SSH, the secure shell, is often used to access remote Linux systems. But its authentication mechanism, where a private local key is paired with a public remote key, is used to secure all kinds of online services, from GitHub and Launchpad to Linux running on Microsoft’s Azure cloud.

  1. DigitalOcean does not provide an API endpoint to add an ssh-key to an existing droplet. The API will allow you to specify a key when you create a new droplet. Once your droplet has been created you will have to add additional keys manually by adding them to /ssh/authorizedkeys.
  2. Working with PuTTY's Public Key Format. Open PuTTYgen. Next to Load an existing private key file, click the Load button. Navigate to the private key in your file system and select it.

Generating these keys from Linux is easy, and thanks to Ubuntu on Windows, you can follow the same process from Windows 10. But even without Ubuntu, SSH keys can also be generated with the free and open source Windows application, PuTTy

Over the following few steps, we’ll guide you through the process of generating SSH keys using both Ubuntu on Windows and PuTTY.

Digital ocean ssh key setup

The first step is to create the key pair on your local machine (if your on windows you are going to have to research now to generate a key): ssh-keygen -t rsa Step Two—Store the Keys and Passphrase. Once you have entered the keygen command, you will get questioned: Enter file in which to save the key (/home/simon/.ssh/id rsa).

Requirements

Digitalocean Generate Ssh Key Windows

All you need is a PC running Windows 10 and either of the following installed:

  • The puttygen.exe executable from PuTTY

Generate Ssh Key Pair

Key generator serial number torrents download. If you don’t already have Ubuntu on Windows, take a look at our Install Ubuntu on Windows 10 tutorial.