Question

Hi, i am trying to configure git, on my Ubuntu (virtual machine). as instructed this tutorial

http://www.guztech.nl/wordpress/index.php/2010/02/setting-up-a-git-server-in-ubuntu-with-gitosis-and-using-gitextensions-on-windows/

When i try to clone repository on Windows Host with GitExtension i get FATAL ERROR: Network error: Connection timed out ...

I suppose the problem is my connection string git@IP:gitosis-admin.git . What is the Git Port number ? i should forward it to my Ubuntu Virtual machine. But then what would the connection string look like ? git@IP:3390:gitosis-admin.git ?

Was it helpful?

Solution

By default, if you don't specify a protocol and follow the server name with a colon (and then the repository), Git uses ssh over port 22. See "GIT URLS" at http://git-scm.com/docs/git-clone

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top