From owner-freebsd-questions@FreeBSD.ORG Fri Jun 29 14:05:08 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD38116A400 for ; Fri, 29 Jun 2007 14:05:08 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from host222.ipowerweb.com (host222.ipowerweb.com [66.235.210.10]) by mx1.freebsd.org (Postfix) with SMTP id 9D12C13C4C1 for ; Fri, 29 Jun 2007 14:05:06 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 25575 invoked from network); 29 Jun 2007 14:00:34 -0000 Received: from unknown (HELO demeter.hydra) (24.9.123.251) by host222.ipowerweb.com with SMTP; 29 Jun 2007 14:00:34 -0000 Received: from demeter.hydra (localhost [127.0.0.1]) by demeter.hydra (8.13.6/8.13.6) with ESMTP id l5TE540j011994 for ; Fri, 29 Jun 2007 08:05:04 -0600 (MDT) (envelope-from perrin@apotheon.com) Received: (from ren@localhost) by demeter.hydra (8.13.6/8.13.6/Submit) id l5TE53P2011993 for freebsd-questions@freebsd.org; Fri, 29 Jun 2007 08:05:03 -0600 (MDT) (envelope-from perrin@apotheon.com) X-Authentication-Warning: demeter.hydra: ren set sender to perrin@apotheon.com using -f Date: Fri, 29 Jun 2007 08:05:03 -0600 From: Chad Perrin To: FreeBSD Questions Message-ID: <20070629140503.GA11864@demeter.hydra> Mail-Followup-To: FreeBSD Questions References: <20070628214550.GA7645@demeter.hydra> <20070628221018.GV17271@rescomp.berkeley.edu> <20070628224410.GA7877@demeter.hydra> <20070628232255.GW17271@rescomp.berkeley.edu> <20070629102318.GA11002@demeter.hydra> <1183125276.1511.54.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1183125276.1511.54.camel@localhost> User-Agent: Mutt/1.4.2.2i Subject: Re: [SOLVED, sort of] Re: svn+ssh over nonstandard port fails to connect X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2007 14:05:08 -0000 On Fri, Jun 29, 2007 at 02:54:36PM +0100, Tom Evans wrote: > > Did you miss Albert Shih's reply (slightly modified)? Actually, I was reading replies from the top of the thread down, and was still looking into what he said (in the midst of dealing with other things that came up), so hadn't gotten back to the list yet. > > > Put something like > > [tunnels] > > myssh=/usr/bin/ssh -p 1234 123.45.678.90 > > in > > ~/.subversion/config > > and use > > svn co svn+myssh://usr/home/svn-repos/project > > You can then clearly define as many transports as you like, which > requires no setting of environment variables and is shell-agnostic. > > Full details are described in the redbook: > http://svnbook.red-bean.com/nightly/en/svn.serverconfig.svnserve.html#svn.serverconfig.svnserve.sshauth > > In fact, if you had read the svn+ssh portion of the redbook, you would > have come across this sentence: > > "This example demonstrates a couple of things. First, it shows how to > make the Subversion client launch a very specific tunneling binary (the > one located at /opt/alternate/ssh) with specific options. In this case, > accessing a svn+joessh:// URL would invoke the particular SSH binary > with -p 29934 as arguments ??? useful if you want the tunnel program to > connect to a non-standard port." > > Reading the manual is good. Apparently, reading it *recently* -- rather than just skimming to refresh my memory -- seems to be key in this case. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] print substr("Just another Perl hacker", 0, -2);