DEV Community

Malicha Galma
Malicha Galma

Posted on

HOW I SET UP GIT AND GITHUB WITH SSH ON WSL

This is how I configured Git and connected it to GitHub using SSH:
1.I installed git
2.Set my git username and email
3.I generated an SSH key-to securely connect to github(ssh-keygen -t ed25519 -C "galmalicha@gmail.com")

  1. Added SSH key to Agent(eval "$(ssh-agent -s)" ssh-add ~/.ssh/id_ed25519) 5.I then connected it to Github 6.Tested SSH connection(ssh -T git@github.com)-that's how i got Git and Github working with SSH. This was my first time doing this setup, and now I can use Git and GitHub with SSH inside Ubuntu on Windows.

Top comments (0)