我有以下内容,需要在Windows终端命令提示符或Linux中克隆存储库。
- URL: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
~/.ssh/id_rsa.pub
添加到你的账户配置文件中(例如 GitHub、BitBucket)? - Sajib Khan