【发布时间】:2017-06-02 13:31:46
【问题描述】:
我有以下内容,我需要在 windows 终端命令提示符或 linux 中克隆存储库。
- 网址: git@xxxxx.com:xxx/xxx/git
- 用户名: xxx@xxx.in
- SSH 密钥: ssh-rsa AAAAB3NzaC1yxxxxxxxxxxxx....xxx@xxx.in
我试过了:
git clone git@xxxxx.com:xxx/xxx/git
我明白了
Permission denied(public key)
Couldn't read from remote repository
还尝试将 URL 更改为:
git clone https://xxxxx.com:xxx/xxx/git
【问题讨论】:
-
您是否在您的帐户资料(例如 GitHub、BitBucket)中添加了您的
~/.ssh/id_rsa.pub? -
我们无权访问帐户资料...详细信息是从客户那里共享的,我们只需要将我们的代码克隆到他们的 github 中