我想在 bitbucket
上克隆一个私有(private) git 存储库,但我的工作站上还没有 ssh-key
。当我尝试克隆时,我得到以下信息:
Cloning into 'notdefinedyet'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我必须生成一个新的 ssh-key
还是我可以获得一个之前安装的旧 key ?如果是这样,我怎样才能得到它?
最佳答案
如果您没有可用的私钥副本,则必须生成一个新私钥并将其关联到您的帐户。无法取回私钥,这就是它们的私密性。
关于git - Bitbucket 克隆私有(private) git 仓库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20308826/