简体   繁体   中英

Configure Git hosting on Ubuntu

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 ?

默认情况下,如果您未指定协议,而是在服务器名称后加上冒号(然后是存储库),则Git在端口22上使用ssh。请参见http://git-scm.com/docs上的 “ GIT URLS” / git-克隆

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM