Showing posts with label GIT. Show all posts
Showing posts with label GIT. Show all posts

Monday, June 29, 2015

Generate SSH Key using GIT


Please follow the below steps to create the SSH key in GIT


1) Open Git Bash (type git bash in search bar of windows start)

2) Generate the key using following command
    $ ssh-keygen -t rsa -b 4096
  This will prompt you to enter file name, just press enter key.
  When prompting for passpharse, enter a passpharse. (Note the pharse
  which will be used while you clone the repository)

3) Open key file and copy 
  $ cat /d/Users/<yourloginusername>/.ssh/id_rsa.pub