Files
nexus/wiki/concepts/SSH协议切换.md
2026-04-14 16:02:50 +08:00

488 B
Raw Blame History

title, type, tags, sources, last_updated
title type tags sources last_updated
SSH协议切换 concept
Git
SSH
GitHub
git-push-connection-reset
2026-04-14

Definition

从HTTPS切换到SSH协议连接GitHub绕过443端口限制。

操作步骤

# 查看当前远程地址
git remote -v

# 修改为SSH地址
git remote set-url origin git@github.com:username/repo.git

前提

已生成SSH Key并上传公钥到GitHub

Connections