Steps:
-
Open Git Bash
-
Go to .ssh folder and type the below command:
ssh-keygen -t rsa -b 4096 -c "your_email_address"
-
Adding ssh key to the ssh-agent
-
Start up the ssh-agent everytime you start the terminal
eval $(ssh-agent -s)
-
Add rsa key to the ssh-agent every time you start terminal!
ssh -add ~/.ssh/id_rsa
ORssh -add id_rsa
-
-
Add SSH to the github account.
-
Copy the SSH key to your clipboard
clip < ~/.ssh/id_rsa.pub
ORclip < id_rsa.pub
-
On your GitHub account got to Setting --> SSH & GPG keys --> Paste the Key
-
-
Test you SSH Connection
ssh -T [email protected]