[英]Bitbucket cloning private git repository
I want to clone a private git repository on bitbucket
, but I don't have an ssh-key
on my workstation yet. 我想在
bitbucket
上克隆私有git存储库,但我的工作站上还没有ssh-key
。 When I try to clone I get the following: 当我尝试克隆时,我得到以下内容:
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.
Must I generate a new ssh-key
or can I get an old key which was installed earlier? 我必须生成一个新的
ssh-key
还是可以获得之前安装的旧密钥? If so, how I can get it? 如果是这样,我怎么能得到它?
If you don't have a copy of your private key available, you will have to generate a new one and associate it on your account. 如果您没有可用的私钥副本,则必须生成一个新密钥并将其与您的帐户相关联。 There's no way to get the private key back, that's what makes them private.
没有办法让私钥回来,这就是让他们私密的原因。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.