I’ve never seen something like this.
I open the my Ubuntu console, it works (barely)
I tried to copy a SSH key via the clipboard, since nothing else works
It translates the lower case to upper case
This is what I’m copying: ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAhv+3iCamfYpQlUBxsMcIsbSFZZcQADlu2ft6nibKukgdrt0wsC38yYMU9MzCk9R8t937E8TXTkmqvUH9djT/b6R
This is what the POS of a terminal copies: SSH-RSA aaaab4nZAc1YC…
Can somebody try to explain?
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!
This problem is so annoying, here’s how I got round it:
copy your ssh key into Notepad++, select all text, go to: Edit > Convert Case to > iNVERT cASE
Now copy and paste the inverted key into the Digital Ocean console, which will invert it back to the original.
Ugh.
Hi,
Are you using the console within the Digital Ocean dashboard (opens in the browser) or locally on your machine?
Hello, all
Keep in mind that you can also put the key in a file hosted on any Dropbox or remote server and then you can just download it via the console using curl or wget
This should do the job for you as well.
The other option is to temporary enable the PasswordAuthentication from no to yes in order to access your droplet using password and then once you’ve entered your key to disable the PasswordAuthentication again. This way is considered more secure than uploading the key to a Dropbox in case you don’t have any other server to us.
sudo nano /etc/ssh/sshd_configPasswordAuthentication from “no” to “yes” and save the file- systemctl restart sshd.service
sudo nano ~/.ssh/authorized_keyssudo nano /etc/ssh/sshd_configPasswordAuthentication from “yes” to “no” and save the fileHope that this helps! Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.