How to generate SSH v2 key for ubuntu one

10,315

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

ssh-keygen -t rsa -b 4096
Share:
10,315
wouter205
Author by

wouter205

Updated on September 18, 2022

Comments

  • wouter205
    wouter205 over 1 year

    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