Friday, 25 November 2016

How to generate the ssh key on unix and add it to git hub?


(a)ssh-keygen -t rsa -C "jtony@ca.ibm.com"
(b)When you're prompted to "Enter a file in which to save the key," press Enter. This accepts the default file location.
(c)At the prompt, type a secure passphrase, press Enter to not use passphrase
(d) Enter the secure passphrase again, or press Enter again to confirm null passphrase.
(e) copy the  ~/.ssh/id_rsa.pub content
(f) Go to git hub and click on New     SSH Key, enter the Tile for the key and paste the copied content to the Key field and click
    on Add SSH Key.
https://www.racf.bnl.gov/docs/authentication/ssh/sshkeygenunix

No comments:

Post a Comment