From owner-freebsd-questions@FreeBSD.ORG Thu Mar 27 11:15:17 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3022E37B401 for ; Thu, 27 Mar 2003 11:15:17 -0800 (PST) Received: from intruder.naswi.navy.mil (intruder.naswi.navy.mil [206.39.163.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id F345E43F3F for ; Thu, 27 Mar 2003 11:15:15 -0800 (PST) (envelope-from everistb@naswi.navy.mil) Received: by intruder.naswi.navy.mil; id LAA01740; Thu, 27 Mar 2003 11:15:26 GMT Received: from unknown(204.130.191.35) by intruder.naswi.navy.mil via smap (V5.5) id xma000488; Thu, 27 Mar 03 11:14:50 GMT Received: from naswxpi01.naswi.navy.mil (naswxpi01.naswi.navy.mil [172.16.2.190]) by shrek.naswi.navy.mil (8.11.6/8.11.0) with ESMTP id h2RJGZ415510; Thu, 27 Mar 2003 11:16:35 -0800 Received: from updn-49qtl.naswi.navy.mil (UPDN-49QTL [172.16.10.157]) by naswxpi01.naswi.navy.mil with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id HG6TW221; Thu, 27 Mar 2003 11:21:41 -0800 Message-Id: <5.2.0.9.0.20030327111819.00a28630@naswxpi04> X-Sender: everistb@naswxpi04 X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Thu, 27 Mar 2003 11:21:32 -0800 To: James Earl From: benjamin everist In-Reply-To: <330B570152370241B06B340D0BF6BB9A01514185@NASWXPI04> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Status: No, hits=-9.7 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: freebsd-questions@freebsd.org Subject: Re: CVSup over an SSH tunnel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2003 19:15:18 -0000 Thanks James! Once I allowed tcp port forwarding in sshd_config, this worked brilliantly. Excuse me while I go take the fork out of my eye. Cheers, Benjamin Everist At 10:09 AM 3/27/03 -0800, James Earl wrote: >You bet you can. > >ssh -2 -N -f -L [localhost port]:[cvsup-server-ip]:[cvsup-server-port] >[outside-machine-username]@[outside-machine-ip] > >For example: > >ssh -2 -N -f -L 6000:cvsup.ca.freebsd.org:5999 >user@outside-machine-ip-address > >Then you'd simply change your supfile to point to localhost, and >possibly use the -p [port] option on the command line to change the >port to 6000. > >Good luck. > > >On 2003.03.27 11:00 benjamin everist wrote: > > There seems to be a wealth of information on using CVSup over a ssh > > tunnel, all of which I am apparently too dense to understand. > > > > Please take pity on me: > > > > I have a machine inside a NATing firewall that needs to cvsup, but > > cannot connect via port 5999. > > I have a machine outside that firewall that doesn't need to cvsup, > > but can connect via port 5999 > > ssh is permitted out of the firewall, and is running on both machines > > above. > > no changes are allowed to the firewall. > > > > Can I create a tunnel from the inside machine to the outside machine > > to a cvsup server and thus become happy and sane again? > > > > Thanks, > > > > > > Benjamin Everist > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org"