access a repository on a VM using SSH with SourceTree

BENMOHAMED Abdelkader El Mehdi June 25, 2019

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 : 

/home/user/repositories/main_repository

 

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
Atlassian Team members are employees working across the company in a wide variety of roles.
July 15, 2019

Hello! Which OS are you using?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events