CVSup over an SSH tunnel

benjamin everist everistb at naswi.navy.mil
Thu Mar 27 11:15:18 PST 2003


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 at 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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list