Looking at the Stars!

Resolve the problem that Github cannot be connected through SSH

 ssh -T  git@github.com

If "ssh: connect to host gitub.com port 22: Connection refreshed" or other errors appear when using the above command, open the file "C: Users your user name . Ssh config" (if not, create a new one), and enter the following contents

 Host * ProxyCommand "C:/your git location/mingw64/bin/connect. exe" - S 127.0.0.1:1080% h% p

Host * here can be replaced by Host github.com. Finally, execute the following command test:

 ssh -T  git@github.com

2 messages from netizens