You're replying to a comment by Kent Fredric.

Kent Fredric Permalink
June 03, 2010, 00:09

Theres a handy trick with SSH. If you are inside a network with an anally retentive firewall, but you need *inbound* ssh support from a given box ( for something like git+ssh ), you can do a bit of magic by forwarding your ssh port to the remote box.

ssh -R 32123:127.0.0.1:22 $remotebox
$remotebox:> git clone foo@127.0.0.1:32123/path/on/your/machine.

its essentially, forwarding an ssh server over ssh, and then sshing back the other way.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the first letter of your name: (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.