I need help logging into the my new Droplet.

May 29, 2017 118 views
DigitalOcean CentOS

I've tried using the console with root, and the supplied password without success. The console doesn't want to accept the password, and when it occasionally does it will not allow me to reset the password. The worst part is the copy paste function is not working either so I manually type it in each time... Grrrrrr... When I finally get to the password reset prompt it will not accept my new password. Are there specific character requirement for the new password? In any case, I've created and destroyed several Droplets and have not yet been successful logging into root. This last time decided to download Puddy and use keys... I've created a new Droplet with the "public key" added, but still cannot manage to get logged in. This has been an all day struggle and help is greatly appreciated....

1 Answer


The purpose of the web console is to function much like a normal console, so copy and paste won't work as it would with a terminal emulator, such as PuTTy.

If you want the ability to copy and paste, and you're on Windows 8/10, then PuTTy is one of the best solutions when it comes to keeping things simple, so I'd recommend using it. Of course, there's a bit of a learning curve to it, though once you're setup, you'll be able to quickly login.

The alternative, if you're on a MacBook would be Terminal or Hyper. Both function like the standard emulator that comes with Linux OS's, so you'd use the standard:

ssh root@IP

... for password based authentication or:

ssh root@IP -i /path/to/private_key

... for SSH Key based authentication.


When it comes to PuTTy, the keys generated by PuTTyGen are not compatible with OpenSSH, but it does provide OpenSSH key conversion and the ability to import a key and get the OpenSSH based key.

When you run PuTTyGen, and a key has been generated, you'll see a box underneath Key, which is labeled as:

Public key for pasting into OpenSSH authorized_keys file:

The contents of that box are what you'd paste in to the DigitalOcean control panel when adding an SSH key.

The string will start with:




... depending on the type of key you generated (for security, only RSA and ED25519 keys should be used).

You'll then want to click on Save public key and Save private key -- store them somewhere that's secure (locally on your PC). We'll use the saved private key here shortly.


Once you've stored the key to DigitalOcean, deploy a Droplet and select it as the key you want to deploy with your Droplet. Let the deployment complete.

Once the Droplet is deployed, run PuTTy. For:

Host Name (or IP address) -- enter your Droplet IP

Port -- 22

Connection type -- SSH

Now, from the left menu, click on SSH under Connection. It'll expand. Now click on Auth. Find the box at the bottom that's labeled:

Private key file for authentication

Click on Browse and locate the private key you just saved to your PC in the previous step.

Now scroll back up to the top of the left menu and click on Session. Click on Save to save the session, then click on Open to bring up the prompt.

You'll enter root as the username and from there, you'll either be auto-logged in, or prompted for the passphrase you set on your key.

Have another answer? Share your knowledge.