Configure Git hosting on Ubuntu
-
11-10-2019 - |
Question
Hi, i am trying to configure git, on my Ubuntu (virtual machine). as instructed this tutorial
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 ?
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