From owner-freebsd-questions@FreeBSD.ORG Fri Apr 1 04:24:45 2005 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 C195016A4CE for ; Fri, 1 Apr 2005 04:24:45 +0000 (GMT) Received: from galilee.polands.org (CPE-24-208-53-189.new.res.rr.com [24.208.53.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id F367943D3F for ; Fri, 1 Apr 2005 04:24:44 +0000 (GMT) (envelope-from djp@polands.org) Received: from jericho.polands.org ([172.16.1.35]) by galilee.polands.org (8.12.9/8.12.9) with ESMTP id j314OXoR055478; Thu, 31 Mar 2005 22:24:33 -0600 (CST) (envelope-from djp@polands.org) Received: from jericho.polands.org (localhost [127.0.0.1]) by jericho.polands.org (8.13.3/8.13.1) with ESMTP id j314OXlQ032222; Thu, 31 Mar 2005 22:24:33 -0600 (CST) (envelope-from djp@jericho.polands.org) Received: (from djp@localhost) by jericho.polands.org (8.13.3/8.13.1/Submit) id j314OWkK032221; Thu, 31 Mar 2005 22:24:32 -0600 (CST) (envelope-from djp) Date: Thu, 31 Mar 2005 22:24:32 -0600 From: Doug Poland To: Mark Jayson Alvarez Message-ID: <20050401042432.GA32182@polands.org> References: <20050401040636.14355.qmail@web51603.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050401040636.14355.qmail@web51603.mail.yahoo.com> User-Agent: Mutt/1.5.9i cc: freebsd-questions@freebsd.org Subject: Re: cvsup through ssh forwarding 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: Fri, 01 Apr 2005 04:24:45 -0000 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