Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
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: https://www.digitalocean.com/docs/droplets/how-to/connect-with-ssh/putty/
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/id_rsa.pub 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: https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys–2
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)”,
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.×