SSH repositroy git



I am working in Bitbucket, and I have actived the ssh in the repository of bitbucket. 

After configuring the ssh, i want to clone a repository git in my computer. 

I have this command i GIT Bash:   

git clone ssh://git@myIP:port/project/repo.git

after executing the command, he asked me  the pasword for git and i don't know. 


Can you help me please!!!!!!!!!!!!!!!



1 answer

1 accepted

0 vote

Does your key have a passphrase? If so, you'll need to enter SSH key passphrase.

the pass phrase is the password for git?

No; the SSH client on your local machine needs the passphrase to be able to use the key for authentication with Bitbucket. The prompt for the passphrase comes from your local machine, not Bitbucket (and as a result, the passphrase isn't even sent to Bitbucket).

With respect to 'git' in the clone URL, Bitbucket doesn't use it for authentication. It only looks at the SSH public key that's used. If the key matches the key that you've uploaded, you're successfully authenticated.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,959 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you