my local machine terminal screen session 12345 ssh me@remotemachine (I want to be here) screen session 67890 (I'm here)
I got into a quandary where I cannot get to the ssh session to disconnect it.
If I press ctrl-a ctrl-d in a 67890 session, it separates me from 12345. So, how do I get to a third level ssh session so that I can disconnect it?
Any proposed killing-based solution should not harm processes running in session 67890.
source share