Can somebody explain copy / paste in the console?

February 19, 2019 1.3k views
DigitalOcean Ubuntu 18.04

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?

1 Answer

Hi,

Are you using the console within the Digital Ocean dashboard (opens in the browser) or locally on your machine?

  • Yes

    Because was the only thing that worked. You must use SSH to login to the droplet, there’s no other way, several years ago you could use a password (I don’t know if its because of the image I selected), so there was no way to put a public key in the server other than trying to copy/paste, no FTP, no SSH, no nothing, because there isn’t a public key.

    In the end, I loaded the keys to my account, destroyed the droplet and created a new one with the keys

    I lost so much time trying to copy/paste with this bizarre behaivour. This doesn’t happen when I use PuTTY or any other mean

Have another answer? Share your knowledge.