Git and Github Connection With SSH Key | Windows and Github
Jan 25, 2025
User configure & SSH public key generate
- Git install
- 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
- C:\Users\SanjoyLab\.ssh
- publicFile open & copy public key
Add SSH public key to github
- Github Profile -> Setting -> SSH and GPG Keys -> New SSH key
Select & Pest
Key & Authentication Key & Past SSH public key