I need to connect to a remote server behind jump hosts. There are several jump hosts (residing in different regions) that I can tunnel through to reach this remote server.
So I need to connect to this remote server via any available jump host. If one of the jump host is down (or I may manually choose to), my connection must automatically choose any available tunnel, through the alternate jump host to connect to the remote server.
host A ------------JumpHost1----------------remote host
| |
|--------JumpHost2----------------|
| |
|--------JumpHost3----------------|
| |
|--------Jumphost4----------------|
| |
|--------JumpHost5----------------|