From owner-freebsd-questions@FreeBSD.ORG Thu Jun 28 22:32:33 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 0117916A400 for ; Thu, 28 Jun 2007 22:32:33 +0000 (UTC) (envelope-from ccowart@hal.rescomp.berkeley.edu) Received: from rescomp.berkeley.edu (hal.Rescomp.Berkeley.EDU [169.229.70.150]) by mx1.freebsd.org (Postfix) with ESMTP id E267D13C447 for ; Thu, 28 Jun 2007 22:32:32 +0000 (UTC) (envelope-from ccowart@hal.rescomp.berkeley.edu) Received: by rescomp.berkeley.edu (Postfix, from userid 1225) id 905395B77C; Thu, 28 Jun 2007 15:10:18 -0700 (PDT) Date: Thu, 28 Jun 2007 15:10:18 -0700 From: Christopher Cowart To: FreeBSD Questions Message-ID: <20070628221018.GV17271@rescomp.berkeley.edu> Mail-Followup-To: FreeBSD Questions References: <20070628214550.GA7645@demeter.hydra> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T4YXNh3jRJ/F28As" Content-Disposition: inline In-Reply-To: <20070628214550.GA7645@demeter.hydra> Organization: RSSP-IT, UC Berkeley User-Agent: Mutt/1.5.9i 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:32:33 -0000 --T4YXNh3jRJ/F28As Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: >=20 > svn co svn+ssh://user@123.45.678.90:1234/usr/home/svn-repos/project pro= ject Try: SVN_SSH=3D"ssh -p 1234" svn co svn+ssh://user@host/path > The result I get is as follows: >=20 > ssh: 123.45.678.90:1234: hostname nor servname provided, or not known > svn: Connection closed unexpectedly >=20 > 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, --=20 Chris Cowart Lead Systems Administrator Network Infrastructure, RSSP-IT UC Berkeley --T4YXNh3jRJ/F28As Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFGhDHKV3SOqjnqPh0RAmIbAKCpjc5z3yBFgef8jy2YLp1996uL2gCfSYZF EYpTPI/zpUlEF2GKFoXODSo= =FIQo -----END PGP SIGNATURE----- --T4YXNh3jRJ/F28As--