Find your ssh keys 1.win10 under generally ~ / .ssh directory
2.Ubuntu the beginning should be no ~ / .ssh directory, not to Mr. Cheng, the -C back into your own mailbox number registered on gitHub, execute commands on it all the way round
ssh-keygen -t rsa -C "[email protected]"
Under ~ / .ssh directory 3. Place your id_rsa, id_rsa.pub file using U disk, e-mail, with cloud disk, is a variety of means to reach your Ubuntu system, covering generate out of the file
4. Under ~ / .ssh directory, assign permissions to the secret key file 600
chmod 600 id_rsa*
5. Re-registration keys, so that new keys into force
ssh-add