From: Andreas Ericsson Date: Thu, 24 Nov 2005 08:14:01 GMT Subject: Re: Why not clone to a remote directory over SSH Message-ID: <43857649.2080502@op5.se> In-Reply-To: <20051124001955.GP3968@reactrix.com> Nick Hengeveld wrote: > On Thu, Nov 24, 2005 at 12:41:56AM +0100, Johannes Schindelin wrote: > > >>Obviously, this only works if the other side can connect to this side via >>ssh. Hmm. Firewalls? Disabled sshd? `hostname` not reliably returning a >>valid address for the remote side? > > > If sshd is running locally, you can forward a port back to yourself and > have the remote clone localhost:`pwd`. Assuming there's a way to clone > using a nonstandard port. > ssh://host.xz:port/path/to/repo.git should work. If it doesn't I'll fix it. -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231