How to Add a GitHub/Git Lab SSH Key on Windows

Sanjay Singh
Sep 11, 2021

--

Step 1: Generate Your SSH Key
ssh-keygen -t rsa -b 4096 -C “youreamil@example.com

SSH Key on Windows
$ eval $(ssh-agent -s)
$ ssh-add ~/.ssh/id_rsa

Step 3: Add the SSH Key on GitHub
clip < ~/.ssh/id_rsa.pub

step 4 add ssh key in github/gitlab

/c/Users/****user name ****/.ssh/id_rsa.pub.

--

--

Sanjay Singh
Sanjay Singh

Written by Sanjay Singh

Java, Spring Boot & Microservices developer Sharing knowledge, tutorials & coding tips on my Medium page. Follow me for insights & see story list section

No responses yet