From owner-freebsd-questions@FreeBSD.ORG Thu Jun 28 22:44:14 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 0F3EB16A400 for ; Thu, 28 Jun 2007 22:44:14 +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 E359513C457 for ; Thu, 28 Jun 2007 22:44:13 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 4373 invoked from network); 28 Jun 2007 22:39:44 -0000 Received: from unknown (HELO demeter.hydra) (24.9.123.251) by host222.ipowerweb.com with SMTP; 28 Jun 2007 22:39:44 -0000 Received: from demeter.hydra (localhost [127.0.0.1]) by demeter.hydra (8.13.6/8.13.6) with ESMTP id l5SMiBWQ007910 for ; Thu, 28 Jun 2007 16:44:11 -0600 (MDT) (envelope-from perrin@apotheon.com) Received: (from ren@localhost) by demeter.hydra (8.13.6/8.13.6/Submit) id l5SMiAeq007909 for freebsd-questions@freebsd.org; Thu, 28 Jun 2007 16:44:10 -0600 (MDT) (envelope-from perrin@apotheon.com) X-Authentication-Warning: demeter.hydra: ren set sender to perrin@apotheon.com using -f Date: Thu, 28 Jun 2007 16:44:10 -0600 From: Chad Perrin To: FreeBSD Questions Message-ID: <20070628224410.GA7877@demeter.hydra> Mail-Followup-To: FreeBSD Questions References: <20070628214550.GA7645@demeter.hydra> <20070628221018.GV17271@rescomp.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070628221018.GV17271@rescomp.berkeley.edu> User-Agent: Mutt/1.4.2.2i Subject: 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: Thu, 28 Jun 2007 22:44:14 -0000 On Thu, Jun 28, 2007 at 03:10:18PM -0700, Christopher Cowart wrote: > On Thu, Jun 28, 2007 at 03:45:50PM -0600, Chad Perrin wrote: > > I'm attempting to connect to a Subversion repository via SSH using a > > nonstandard port to check out the repository. The names and numbers in > > the following have been changed to protect the guilty: > > > > svn co svn+ssh://user@123.45.678.90:1234/usr/home/svn-repos/project project > > Try: > > SVN_SSH="ssh -p 1234" svn co svn+ssh://user@host/path Are you suggesting setting an environment variable? I have more than one repository checked out on this system, and they do not all use the same port for access. > > > The result I get is as follows: > > > > ssh: 123.45.678.90:1234: hostname nor servname provided, or not known > > svn: Connection closed unexpectedly > > > > Am I having a brainless moment here? What am I missing? > > ssh doesn't support the hostname:port syntax. You have to use -p. > > Hope that helps, I thought that might be the case, but I'm not sure how to specify it in the svn command string -- which seems to be necessary since making a universal (to this user account) configuration change would then break access to other svn repositories. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] They always say that when life gives you lemons you should make lemonade. I always wonder -- isn't the lemonade going to suck if life doesn't give you any sugar?