"When the connection drops (e.g., because I'm taking my laptop from work to home and logging back on), all of my SSH sessions die. I want to avoid this" – You cannot avoid this. At home you connect to the server from a different IP address, so your SSH connections (had they survived) would not work anyway because the SSH server would not recognize your new network packets as belonging to the old connection. But I think you really want your shell(s) on the server to survive and be usable, not the old SSH sessions. Hence my answer.
↧