CVS :: Could not resolve hostname. How can I set the http proxy for CVS?
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.
精彩评论