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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Marketplace Apps

Three tips for boosting your board's efficiency with Story Maps

Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...

828 views 2 9
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