SSH connection to github
Generating a new SSH key and adding it to the ssh-agent
ssh-keygen -t ed25519 -C "[email protected]"
#you need to your github email
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
ssh -T -p 443 [email protected]
Testing SSH Connect
ssh -T [email protected]
ssh -T [email protected]
Visualstudio code
sometime you will have an ssh connection. below configuration it may help you. But it helped me. As I can't connect git hub via ssh at home.
nano ~/.ssh/config
Host github.com
Hostname ssh.github.com
Port 443
admin
0