For Macos terminal
Add small script to when connecting to machine try to attach to tmux session or create a new one if none