Date: Thu, 27 Mar 2003 11:09:33 -0700 From: James Earl <mtntrip@telus.net> To: benjamin everist <everistb@naswi.navy.mil> Cc: freebsd-questions@freebsd.org Subject: Re: CVSup over an SSH tunnel Message-ID: <20030327180933.GA586@comp4.ici.net> In-Reply-To: <5.2.0.9.0.20030327094431.00a28900@naswxpi04>; from everistb@naswi.navy.mil on Thu, Mar 27, 2003 at 11:00:07 -0700 References: <5.2.0.9.0.20030327094431.00a28900@naswxpi04>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030327180933.GA586>