Years ago I had the habit of shutting down my laptop with "sudo shutdown -h now" at the end of the workday. Until one day I did that accidentally in a live SSH session.
Since then I always shut down my machine using the GUI and I have Tmux configured with different colors for SSH sessions.
Since then I always shut down my machine using the GUI and I have Tmux configured with different colors for SSH sessions.