Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2007 15:10:18 -0700
From:      Christopher Cowart <ccowart@rescomp.berkeley.edu>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: svn+ssh over nonstandard port fails to connect
Message-ID:  <20070628221018.GV17271@rescomp.berkeley.edu>
In-Reply-To: <20070628214550.GA7645@demeter.hydra>
References:  <20070628214550.GA7645@demeter.hydra>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070628221018.GV17271>