3

I want to generate a ssh v2 key for my ubuntu one account to be able to log onto ubuntu core on my raspberry key. I follow the instructions outlined here but every time I want to import the key on Ubuntu One it states "Invalid SSH key data: 'ssh-rsa -..." I did the following command:

ssh-keygen -t rsa

And copied the contents of file id_rsa.pub

6

Ok, I figured it out. The key needs to be 4096 bits so the command is:

ssh-keygen -t rsa -b 4096

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.