xxxxxxxxxx
# wsl2 solution with vscode to connect to Github repository (not sure why it works with the agent but not otherwise keys are in Ubuntu ie. could be with it being in a VM)
eval $(ssh-agent)
ssh-add
xxxxxxxxxx
##1
$ cd ~/.ssh
##2
#ubuntu
$ eval $(ssh-agent)
#CentOS
$ exec ssh-agent bash
##3
$ ssh-add my_id_rsa