简体   繁体   中英

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. 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? 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM