SSH Jump Host
Jumphost or jumphost servers are intermediaries between the high security zone and the DMZ zones. And provide transparent control of devices in the DMZ zone.
Of course jump host should be highly secured for preventing access to security zone.
You can connect to the target host through one or more intermediaries jumphosts, and that client can act as if the connection was direct.
Using jumphosts connection is the most secure method, because it utilize end-to-end encryption. Thus, traffic passing through intermediate nodes is always encrypted.
SSH Jump Hosts can be used as alternative to SSH tunneling.
How to SSH a Remote Host Using a Jump Host
This is example of using using jump host connection.
This connection method can be used if You using SSH Public Key Authentication
SSH Jump Host connection Example:
$ ssh -J host1 host2
For specify different usernames and ports:
$ ssh -J username@host1:port1 username@host2:port2
Multiple SSH jumps between multiple hosts
To make jumps over multiple hosts:
$ ssh -J user1@host1:port1,user2@host2:port2 user3@host3:port3