I've got a local machine, Server A. This server has a public internet connection to Server B and Server C using private Key A. Neither Server B or Server C have access to Key A. However, Server B and Server C share a private network with one another over Network P.
What I'd like to do is use the ssh
or scp
ProxyCommand
option, if possible, to ssh into Server B from Server A and scp
files from Server B over to Server C but done through the private network. Network P.
Is chaining scp/ssh commands like this possible? If so, how do I do it?