外观
GitHub设置
109字小于1分钟
2024-12-20
github ssh 设置
Windows
C:\Users\mayna\.ssh\config
Host github.com
HostName ssh.github.com
Port 443
User git
TCPKeepAlive yes
ProxyCommand "C:\Program Files\Git\mingw64\bin\connect.exe" -H 127.0.0.1:10809 -a none %h %p
IdentityFile C:\Users\mayna/.ssh/id_ecdsa
C:\Users\mayna\.gitconfig
[http]
proxy = http://127.0.0.1:10809
[https]
proxy = http://127.0.0.1:10809
[user]
name = maynard
email = [email protected]
Linux
/home/maynard/.ssh/config
Host github.com
Hostname ssh.github.com
Port 443
User git
TCPKeepAlive yes
ProxyCommand nc -v -x 127.0.0.1:10808 %h %p
IdentityFile /home/maynard/.ssh/id_ed25519
/home/maynard/.gitconfig
[http]
proxy = http://127.0.0.1:10808
[https]
proxy = http://127.0.0.1:10808
[user]
name = maynard
email = [email protected]