Can't connect with gitolite repository

I'm not able to connect to my gitolite repository. I do get a working ssh connection, but then it gives the following error in the logs: TransportException: No such file or directory

So it seems it's not able to find the repository, even though I'm sure the path is correct. When I do a clone locally with the same ssh key and path as I fill in the Jira repository settings I can clone it just fine.

As reference, the url is like this (scrambled it a bit):
ssh://git@example.com:9418/test_repo

7 answers

Hi

this port is not supported by plugin (and erroneously treated as part of scp path). Could you use regular ssh protocol?

Hi. I am also experiencing the same thing. Does it mean that you cannot use sourcetree if you have a non standard port?

Seems I was wrong in my previous answer. JGit should support access to 9418 port. What kind of error do you have?

The error is fatal: '/gitolite-admin does not appear to be a git repository.

If I run the same command on my local machine for eg git clone ssh://git@myurl.com:5252/testing then it works.

How do you adding configuration entry for your repository?

I don't understand the question.

I have installed gitolite. I use the automatically created gitolite-admin repository to manage my repositories. I can clone this from my local server but it seems I cannot access this server using the same url when I use sourcetree.

Ah I'm sorry I thought you are asking about Git Integration Plugin for Jira. Can't say anything about Atlassian Source Tree. Sorry for confusion again

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
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

73 views 0 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