we have a git repository on remove server A. I normally access that via ssh from my work machine, e.g.
git clone user@A:/path/to/repo
However, A is not accessible directly from outside work. There is another server, B, which I ssh into, which can then ssh into A. What I want to do now is to clone the repository on my machine at home. I tried stuff like
git clone B:A:/path/to/repo git clone user@B:A/path/to/repo
neither of which worked. I suppose I could copy the repo on B and clone from there, but merging changes back to A would be a hassle. Any suggestions how I can access A directly?