ssh
SSH
生成新的 SSH 密钥
sh
ssh-keygen -t ed25519 -C "your_email@example.com"查看 SSH 密钥
zsh
sh
cat ~/.ssh/id_ed25519.pubpowershell
sh
cat ~\.ssh\id_ed25519.pub配置 GitHub 在 HTTPS 端口使用 SSH
Host github.com
HostName ssh.github.com
Port 443
User git测试 SSH 连接
sh
ssh -T git@github.com配置代理
ProxyCommand nc -X 5 -x 127.0.0.1:7890 %h %p