Case scenario:
When I open my terminal, screen starts automatically. This is useful because I often need multiple screens locally within the same terminal.
However, if I connect via SSH to a server and want to start a screen session on that server, it will create a local screen session instead.
i.e I want a parent (local screen) /children (remote screens) relationship between (or equivalent) instead of multiple SSH connections via local screens
~.it will detach you from the session closest to you. Each level you want to pass through you need to add an initial character. So for closing a nested ssh session you would~~..