Thread (5 messages) flat view 5 messages, 5 authors, 2016-06-15

Re: Why not clone to a remote directory over SSH

From: Andreas Ericsson <hidden>
Date: 2016-06-15 22:42:13

Nick Hengeveld wrote:
On Thu, Nov 24, 2005 at 12:41:56AM +0100, Johannes Schindelin wrote:

quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help