我的机器在一个proxy后面,proxy是squid的,只提供了http_proxy。现在这个squid已经配置好了,
内部的机器可以用wget下载东西。 但是用git的时候有点问题。使用git协议,不是http协议。
1. squid能不能打开git的端口?
2. 如果不行的话,要怎么做。
我看了网上的这个帖子,http://www.vpsee.com/2011/07/how-to-use-git-through-a-http-proxy/
但是没有成功。
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Initialized empty Git repository in /home/user/git/linux-2.6/.git/
2012/09/13 11:41:02 socat[27248] E CONNECT git.kernel.org:9418: Forbidden
fatal: The remote end hung up unexpectedly
没有想到会是什么问题。
--
Wizard
--
Wizard
--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN