Git and Github Connection With SSH Key | Windows and Github

Sanjoy Roy
Jan 25, 2025

--

User configure & SSH public key generate

  1. Git install
  2. Git Bash open
$ git config --global user.name "AnyName"
$ git config --global user.email "yourEmail"
$ ssh-keygen -t ed25519 -C "yourEmail"

Enter Enter..

Copy SSH public key

  1. C:\Users\SanjoyLab\.ssh
  2. publicFile open & copy public key

Add SSH public key to github

  1. Github Profile -> Setting -> SSH and GPG Keys -> New SSH key

Select & Pest

Key & Authentication Key & Past SSH public key

--

--

Sanjoy Roy
Sanjoy Roy

No responses yet