Re: Why not clone to a remote directory over SSH
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 23, 2005, 23:41 UTC
- Message-ID
- <Pine.LNX.4.63.0511240038001.11106@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7vd5kr3pz1.fsf@assigned-by-dhcp.cox.net>
Hi,
On Wed, 23 Nov 2005, Junio C Hamano wrote:
> $ ssh machine 'git clone '`hostname`:`pwd`' /path/to/new/repository'
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?
Hth, Dscho