It’s a farily common occurrence to have a server only accessible through another server. So I was happy that Royal TS provided an easy way of handling this via their “Key Sequence” setting.
The basic idea is that we first connect to our jump server (ip 18.104.22.168), then we setup a Key Sequence that writes an SSH command to get into the internal server (ip 22.214.171.124)
So this is what the resulting key sequence should look like:
This requires you to first allow passwordless logins, via ssh-copy-id.
A screenshot of a real example: