Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <00a001c32046$c40a6140$6400a8c0@FoxtrotTech0001> From: "Bill C. Riemers" To: "Lafond, Kenneth G" , References: <64F0F24E4646E644B6AF14331D69F84101D00767 AT orsmsx403 DOT jf DOT intel DOT com> Subject: Re: CVS through a proxy Date: Thu, 22 May 2003 05:41:54 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 I don't know if cvs itself supports a proxy, but CVS_RSH can point to a program that supports a proxy. You just have to make sure the connection is 8-bit clean. (If it is not 8-bit clean you will run into what seems to be random errors.) For example, if you wish to use cvs with 'ssh' you would point it to a script like: $ echo '#!/bin/bash' >ssh-noescape $ echo 'exec ssh -T -e none "$@"' >> ssh-noescape $ chmod ugo+x ssh-noescape $ export CVS_RSH=`pwd`/ssh-noescape $ cvs -z3 -d:ext:username AT hostname:pathname checkout modulename I used 'ssh' in this example, because many companies now days are leaving port 22 as an open port to connect outside their firewalls. I'm actually quite surprised, there does't seem to be an "open source" version of sock5. So if you need proxy tools to connect you might need to hop through another machine in your internal network which has the proxy tools installed. i.e. $ echo '#!/bin/bash' > proxy-ssh-noescape $ echo 'exec ssh -T -e none unixhost prsh "$@"' >> proxy-ssh-noescape where unixhost is the name of a machine with a utility like "prsh". i.e. rsh compiled with sock5 support. Yet another option is you download something like connect.exe and use it to connect the remote port to a local port. i.e. connect.exe -p 22022 -S user AT foo DOT com hostname 22 Then you would use a command like: $ echo '#!/bin/bash' >ssh-noescape-connect $ echo 'exec ssh -p 22022 -T -e none "$@"' >> ssh-noescape-connect $ chmod ugo+x ssh-noescape-connect $ export CVS_RSH=`pwd`/ssh-noescape-connect $ cvs -z3 -d:ext:username AT hostname:pathname checkout modulename $ export CVS_RSH=`pwd`/ssh-noescape-connect $ cvs -z3 -d:ext:username AT localhost:pathname checkout modulename Bill ----- Original Message ----- From: "Lafond, Kenneth G" To: Sent: Wednesday, May 21, 2003 9:27 PM Subject: CVS through a proxy > Anyone know if the version of CVS included in cygwin works through a proxy? I don't see anything regarding that on the cygwin website or FAQ. If it's not possible, I'll just have to checkout from home. > > Thanks, > Kenneth G Lafond > > There are 10 kinds of people in this world: Those who understand binary, and those who don't. > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/