c******n 发帖数: 4965 | 1 I want to do build on a EC2 box, but the build needs to access our corp
maven repo,
normally you can't go from outside corp network into corp, so
I have to ssh from corp to EC2, then setup some sort of ssh tunnel.
normally I can do ssh -L or ssh -R
but I'm afraid many ports are going to be needed, but -L only allows port
forwarding on one port.
how can I do this? I think I have to put the traffic in a secure tunnel.
thanks | h**********c 发帖数: 4120 | 2 my understanding is that
you can not ssh back to your corp. and your maven repo doesn't provide git
or http etc.
so can you rsync your repo to your EC2 box?
using rsync, ssk-key-gen, ssh-copy-id. |
|