With ssh jump, we can ssh into a machine that we don’t have direct access to through an intermediary.
Just chain the necessary hosts together with the following command:
ssh -J host1 host2 host3 ...
Where the last host is the one you wish to connect to at the end.
Luckily ssh config also supports this!