Comment
Comment by olifante
My favorite utility is a shell function for quickly attaching to an existing screen session after connecting via ssh (or creating a new one if none exists). It's pretty handy for treating a single ssh connection to a server as if it was a long-lived multi-tab terminal:
Works with bash and zsh. Usage is pretty simple:
Or for local Docker instances mapped to port 2222:
Detach the session with CTRL-A + D, reattach by rerunning the sshcreen command you previously used.