How To Connect To CVS Via Proxy Server

By Angsuman Chakraborty, Gaea News Network
Saturday, February 10, 2007

CVS is commonly used by open source project to provide access to their source code. Here is a simple way how you can connect to CVS server from behind a proxy server.

cvs -d:pserver;proxy=proxyhost;proxyport=8080:username@somedomain.tld:/somerepository
Notes:
1. Change proxyhost to hostname or ip address of your proxy server
2. Change proxyport to port of your proxy server
3. username and somedomain.tld (ex. taragana.com) are provided by your CVS administrator

For example here is how I checkout Shoal GMS (open source java jxta based fail-safe clustering) source code on Windows machine from behind our proxy server:
cvs -d:pserver;proxy=172.16.0.9;proxyport=6588:guest@cvs.dev.java.net:/cvs login
cvs -d:pserver;proxy=172.16.0.9;proxyport=6588:guest@cvs.dev.java.net:/cvs co shoal/gms

Discussion
April 7, 2009: 5:31 pm

First of all thanks for such interesting tip.

I have a question: what kind of proxy server could be used? For example if I will take any free public proxy server from lets say freeproxylist.org web site, will they work? Or do I need a proxy servers which supports for example CONNECT command? In other words what protocol CVS uses to make a request? Because as far as I know most public proxy servers support only HTTP or HTTPS requests…

Thanks in advance


sharat87
January 29, 2009: 12:51 am

sir, i get an error saying…

cvs [login aborted]: proxy server 172.24.2.1:8080 does not support http tunnelling

what does this mean and how can i fix this?

thanks for the help
sharat


Peter Moore
January 26, 2009: 2:39 am

Hi “virender”, this is because you need to put quotes around it because of the semi-colons, or escape the semi-colons.

e.g. cvs ‘-d:pserver;proxy=172.16.13.20;proxyport=8080:parrymathur@cvs.dev.java.net:/cvs’ login

*or*

cvs -d:pserver\;proxy=172.16.13.20\;proxyport=8080:parrymathur@cvs.dev.java.net:/cvs login


Parry
November 25, 2008: 6:16 am

Doesn’t work. I go the following error:

Usage: cvs [cvs-options] command [command-options-and-arguments]
where cvs-options are -q, -n, etc.
(specify –help-options for a list of options)
where command is add, admin, etc.
(specify –help-commands for a list of commands
or –help-synonyms for a list of command synonyms)
where command-options-and-arguments depend on the specific command
(specify -H followed by a command name for command-specific help)
Specify –help to receive this message

The Concurrent Versions System (CVS) is a tool for version control.
For CVS updates and additional information, see
the CVS home page at https://www.nongnu.org/cvs/ or
the CVSNT home page at https://www.cvsnt.org/
No utmp entry. You must exec “login” from the lowest level “sh”
paritosh@ubuntu:~$ cvs -d:pserver;proxy=172.16.13.20;proxyport=8080:parrymathur@cvs.dev.java.net:/cvs login sh
Usage: cvs [cvs-options] command [command-options-and-arguments]
where cvs-options are -q, -n, etc.
(specify –help-options for a list of options)
where command is add, admin, etc.
(specify –help-commands for a list of commands
or –help-synonyms for a list of command synonyms)
where command-options-and-arguments depend on the specific command
(specify -H followed by a command name for command-specific help)
Specify –help to receive this message

The Concurrent Versions System (CVS) is a tool for version control.
For CVS updates and additional information, see
the CVS home page at https://www.nongnu.org/cvs/ or
the CVSNT home page at https://www.cvsnt.org/
No utmp entry. You must exec “login” from the lowest level “sh”

Can you please help?

Thanks

April 17, 2008: 2:21 am

dear sir please tell me some tricks to have control on the entire proxy server


M Rezaul Haque
November 30, 2007: 12:22 pm

Pz, help me from a danger if any solution. We with some friends have a broad band connection for the purpose of sharing the single- line with proxy using a HUB and an extra lan card. But their connection type is PPPoE. How can we use proxy server for this case so that we can use net together from our pcs.

YOUR VIEW POINT
NAME : (REQUIRED)
MAIL : (REQUIRED)
will not be displayed
WEBSITE : (OPTIONAL)
YOUR
COMMENT :