【发布时间】:2013-11-15 10:30:07
【问题描述】:
GitHub 中 SSH URL 的格式是什么?
我正在尝试:
ssh git@github.com:Ziiweb/home
但我明白了
ssh: 无法解析主机名 github.com:Ziiweb/home: 名称或服务未知
【问题讨论】:
GitHub 中 SSH URL 的格式是什么?
我正在尝试:
ssh git@github.com:Ziiweb/home
但我明白了
ssh: 无法解析主机名 github.com:Ziiweb/home: 名称或服务未知
【问题讨论】:
Github 不能通过 SSH 访问,这是 git 用来通过 SSH Keys 进行身份验证的协议,所以命令是
git clone git@github.com:Ziiweb/home
来自 GitHub 文档Set Up Git:
如果您使用 SSH 存储库 URL (...),则使用 SSH 密钥进行身份验证。
【讨论】: