Add this to your ~\.ssh\config
if the github.com - port 22 hasn’t been set properly with the following proxy setting.
Host github.com
port 22
User git
HostName github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
# 10808 is local socks listening port number, find it in your v2ray / clash setting (through GUI, preferrably)
ProxyCommand connect -S 127.0.0.1:10808 -a none %h %p
About moomoohorse
Email : haor2@illinois.edu
Website : http://moomoohorse.com