Date: Thu, 27 Mar 2003 11:21:32 -0800 From: benjamin everist <everistb@naswi.navy.mil> To: James Earl <mtntrip@telus.net> Cc: freebsd-questions@freebsd.org Subject: Re: CVSup over an SSH tunnel Message-ID: <5.2.0.9.0.20030327111819.00a28630@naswxpi04> In-Reply-To: <330B570152370241B06B340D0BF6BB9A01514185@NASWXPI04>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.2.0.9.0.20030327111819.00a28630>