I want to connect to github using SSH protocol in my WSL, i followed every single step from the github documentation here. The key was generated, I've tested my connection, but it still doesn't work. I still have to put username or password everytime i push my code to github. Can anyone help me on this?
I also did this.
# start the ssh-agent in the background
$ eval $(ssh-agent -s)
> Agent pid 59566
$ ssh-add ~/.ssh/id_rsa
PS: I don't know if this is related or not, but I have two .ssh directories in my WSL and my bash root folder. It works in my bash because i guess VS Code generated the SSH key for me.
Edit: I guess it's the ssh-agent that's not working
