Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

After changing repository remote path in SourceTree to use ssh secured login I cannot fetch data

JP Dénommée
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 21, 2018
  • SourceTree V2.3.1.0
  • Using embedded git V2.14.1

Error

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin
fatal: I don't handle protocol ' ssh'
Completed with errors, see above.

1 answer

1 accepted

0 votes
Answer accepted
JP Dénommée
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 22, 2018

I just found the answer. This page helped but I had to do additional steps to make it work.

https://confluence.atlassian.com/bitbucket/ssh-keys-935365775.html

I changed the repository path from "ssh://git@bitbucket.org" to "git@bitbucket.org" as suggested in the "Git/SSH" table but got the following error instead:

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin
fatal: 'git@bitbucket.org/repository.git' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

 

Completed with errors, see above.


Since this wasn't working, I tried again, after deleting the content of my local repository and got it working.

Hope this helps someone,

-JP

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events