How do you connect using PuTTY (SSH) in a format Digital Ocean likes?

Seriously, those articles in DigitalOcean are a sad, sad, sad joke. I’m refering to this one:

I’m using: Windows 10, PuTTY or MobaXTerm or Bitvise SSH client, they give the same “results”.

In the sad tutorials it says you must create your pair of jeys using PuTTY Key Generator. So I did it as it says. It generates a key tat starts with:

ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAhv+3iCamfYpQlU …


Now where the heck do I have to put this string???

In my profile under security???

Nahhhhhhhhh it must be placed in the Ubuntu server in the ~/.ssh/ file

But then it starts with the joke of a terminal DigitalOcean has. You cant copy paste, because it seems it will only take the first 256 characters or so, adding to that, it will graciously translate lowercase to uppercase and viceversa, a complete joy, a wonder of engineering

You know, there are some millions of users using Windows, much more than the people who uses a Mac from a Starbucks, it was great when you could sign in using a simple password and not requiring SSH pairings. Since now its the only way to connect to your servers, is there a simpler way to place the required keys???

Now, if I generate the keys in the server, the question is exactly the same. How the heck do I transfer the private key to my Windows? I can’t use ftp, ssh or whatever.

This other article is a joke also:

When I do the ssh-copy-id as instructed it NEVER asks for the account’s password, so it results on a “Permission denied (publickey)”,

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.


You can try to remove or rename any existing ssh keys and create a new one using the steps in the article you’ve pasted -

The most likely reason why you’re not getting a password prompt when you run the the ssh-copy-id is because you’re trying to connect using a ssh key which is not accepted.

To be sure you can ssh to your server using -vvv to see a more verbose output of the connection:

ssh -vvv root@yourserver

Let me know how it goes.