If you routinely log into one or more remote systems using SSH, and have a flaky internet connection or an incompetent ISP, you probably already know about screen’s ability to detach and reattach sessions.
However, you still have to manually type screen -r
to resume a detached session, each time — and sometimes you’ll forget, start working in an SSH session, get logged out, and lose your state.
Here’s the next step — automatic screen-sessions for any remote logins: RemoteLoginAutoScreen.