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…
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
@Edub
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:
… for password based authentication or:
… 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: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:
or
… 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
andSave 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 IPPort
– 22Connection type
– SSHNow, from the left menu, click on
SSH
underConnection
. It’ll expand. Now click onAuth
. Find the box at the bottom that’s labeled: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 onSave
to save the session, then click onOpen
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.