开发者

CVS :: Could not resolve hostname. How can I set the http proxy for CVS?

开发者 https://www.devze.com 2023-01-01 09:19 出处:网络
I\'m using bsd unix. I\'ve issued cvs -d anoncvs@anoncvs.netbsd.org:/cvsroot co pkgsrc command. It says:

I'm using bsd unix.

I've issued cvs -d anoncvs@anoncvs.netbsd.org:/cvsroot co pkgsrc command.

It says:

ssh: Could not resolve hostname anoncvs.netbsd.org: hostname nor servname provided or not known

cvs [checkout aborted] : end of file from 开发者_如何学JAVAserver (consult above messages if any)

I'm behind proxy server. I did set the environment variable http_proxy. Do I need to configure cvs seperately? If so how? I couldn't find any of its configuration files.


If your HTTP proxy supports "CONNECT" to port 22, then you might be able to use a suitable ProxyCommand in .ssh/config. I can't think of any command-line tools that'll do this off the top of my head.


Somehow, your DNS isn't looking up anoncvs.netbsd.org.

0

精彩评论

暂无评论...
验证码 换一张
取 消