Suppose I do a SSH session chain within one single unique terminal window (RHEL6)
- open terminal on localMachine, SSH remote login to server1
- from server1, SSH remote login to server2
- from server2, SSH remote login to server3
- from server3, SSH remote login to localMachine
What happen to all these SSH sessions when I close the terminal window without typing all the sucessive exit commands ?
I suppose that only the first session is closed properly ? (localMachine-server1) Do all the other sessions remain until some inactivity timeout occur ?
Security is not an issue here. SSH is just used as a way to do remote logins.