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 votes
Answer accepted

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
Community showcase
Published Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

223 views 0 12
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