I just recently learned that ssh has an option, ProxyCommand, that allows you to specify a machine (machine B) to be used as a stepping stone when connecting to another machine (machine C). So if you normally establish a connection from your machine (machine A) to B and then establish another connection from B [...]