Date: Thu, 31 Mar 2005 22:24:32 -0600 From: Doug Poland <doug@polands.org> To: Mark Jayson Alvarez <jay2xra@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: cvsup through ssh forwarding Message-ID: <20050401042432.GA32182@polands.org> In-Reply-To: <20050401040636.14355.qmail@web51603.mail.yahoo.com> References: <20050401040636.14355.qmail@web51603.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 31, 2005 at 08:06:36PM -0800, Mark Jayson Alvarez wrote: > Good day, > I'm looking for some sort of way to update the ports > collection in my (private-ip'd) workstation via cvsup > by tunneling it through on of our public-ip'd > machines. Have you ever accomplished the same thing. > Isn't it that ssh forwarding requires you to supply > your username and password in the remote machine such > that the imap/pop polling works well through ssh > tunnelling. What should I give if I am to tunnel a > cvsup connection? > If you grep for cvsup in /etc/services you see: % grep cvsup /etc/services cvsup 5999/tcp #CVSup file transfer/John Polstra/FreeBSD So, therefore you need to tunnel port 5999 using syntax similar to: % ssh -L5999:cvsupXX.freebsd.org:5999 myaccount@mypublic-server Then, when you issue the cvsup command itself, reference localhost: #cvsup -g -L 2 /usr/local/etc/cvsup/sup/ports -h localhost -- Regards, Doug
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050401042432.GA32182>