I am trying to get round a silly firewall issue. I am trying to chain ssh access to git through a proxy ssh:
#!/bin/bash ssh hosticangetto ssh $* # End
$ export GIT_SSH=~/git-chain $ git clone ssh://email@example.com/somerepo.git E, [2012-02-07T12:50:21.434913 #28359] ERROR -- : git command not recognized fatal: The remote end hung up unexpectedly
the arguments being passed into my script are:
firstname.lastname@example.org git-upload-pack 'somerepo.git'
I've checked the keys from the hosticangetto to the git repository store and everything is ok.
I am not sure why this fails. I've done this sort of thing with mercurial before with mercurial -e switch.