DigitalOcean Droplets are Linux-based virtual machines (VMs) that run on top of virtualized hardware. Each Droplet you create is a new server you can use, either standalone or as part of a larger, cloud-based infrastructure.
You can manage your Droplets using password-based logins, but we strongly recommend using SSH key pairs instead. SSH keys are more secure than passwords and can help you log in without having to remember long passwords.
To use SSH keys with your Droplets, you need to:
Create an SSH key using an SSH client installed on your local computer. OpenSSH is included on Linux, macOS, and Windows Subsystem for Linux. Windows users without Bash can use PuTTY.
Add your SSH key to your Droplets. On DigitalOcean, you can upload your SSH public key to your account, which lets you add it to your Droplets at creation time. This lets you log in to your servers without a password while still remaining secure. You can also upload your keys manually after creation.
After you create and upload your keys, you can connect using them.