In my workflow I frequently have to open several chained/nested (?) ssh sessions to get where I need:
- ssh to remote management server
- Escalate privileges (
sudo su ...)
- Ssh to another remote management server
- Ssh to target machine
- Optionally escalate privileges again
And it got me wondering...
How long could I keep going on this? How many "jumps" can I open via ssh this way? Is there an upper limit?
As a programmer, my intuition tells me that there is no upper limit because each additional ssh session only needs to know
- Where requests come from
- Where those requests should be sent
And so my ssh session on my computer is not aware of the other ssh sessions that I opened later.
Is that true or is there an upper limit?
PS. Latency is an obvious upper, but only practical, limit.