I am trying to install a scientific software package on a HPC cluster. Let's call it clusterhpc
. During the configuration process software package tries to clone a bunch of public git repos. However, clusterhpc
is behind a firewall, has restricted internet access, and git clone
does not work.
I can access clusterhpc
via localmachine
through passwordless SSH and vice versa. I can do git clone
of public repos in localmachine
.
How would I setup the git command in clusterhpc
so that when git clone
is run there, the cloning process tunnels through localmachine
?