Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

SSH repositroy git

Demba NGOM February 16, 2017

Hello, 

 

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
Michael Heemskerk
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 16, 2017

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

Demba NGOM February 16, 2017

the pass phrase is the password for git?

Michael Heemskerk
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 16, 2017

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
TAGS
AUG Leaders

Atlassian Community Events