how to make chained ssh work with git

view full story

http://serverfault.com – I am trying to get round a silly firewall issue. I am trying to chain ssh access to git through a proxy ssh: ~/git-chain: #!/bin/bash ssh hosticangetto ssh $* # End And then: $ export GIT_SSH=~/git-chain $ git clone ssh://[email protected]/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: [email protected] 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 wh (HowTos)