Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

access a repository on a VM using SSH with SourceTree

Hello everyone, ihope your doing great !

I'm currently using SourceTree for SCM, but i had to use a --bare repository on a virtual-machine ( that i can acces using ssh), but now i need to know how to access that repository and do the usual operations (clone, fetch,pull push ...), i configured port forwarding for SSH on my virtual machine and the repository is actually on an this path : 



I tried using   ssh://user@localhost/home/user/repositories/main_repository 

But it doesn't seems to work at all


Thank you in advance !

1 answer

0 votes
Mike Corsaro Atlassian Team Jul 15, 2019

Hello! Which OS are you using?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,026 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you