我想在 bitbucket
上克隆一个私有的 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
吗?还是可以获取之前安装的旧密钥?如果可以,如何获取?