You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
i have created a ssh key for bitbucket, add it in the repo to ssh keys.
Then i create a ssh config like this:
If i now clone :
git clone firstname.lastname@example.org:UNAME/REPO.git
Cloning into 'TESTT'...
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Why dont come the password prompt? Someone a idea why this come?
Hi @besucher80 and welcome to the community!
In your config file, I see that you specify ~/.ssh/bitbucket as an Identity file. Is this the correct path and name of the private key on your computer, whose public key you have uploaded to Bitbucket?
Can you please try cloning with the following command and post the full output here(after sanitizing workspace-id, repo name etc)? This command will show verbose output and possibly an indication of what is going wrong.
GIT_SSH_COMMAND="ssh -vvv" git clone email@example.com:workspace-id/repo.git
The reason that you don't get a password prompt is that you are using an SSH clone URL and authentication is done with the SSH keys. A password prompt shows when you clone with an HTTPS URL like this:
If you specified a passphrase for the SSH key pair when you generated it, then you should see a prompt to enter the passphrase.