I need to upload and compile stuff on a remote machine that is only reachable inside a specific network that I can access over SSH.
So for example I perform the following steps:
me@mymachine$ ssh user@network_gateway
user@network_gateway$ ssh seconduser@targetmachine
seconduser@targetmachine$ #do stuff
Is there a way to make my local machine aware of the tunneling without undergoing the trouble of connecting to the network gateway every time?