How to automatically start tmux on SSH session?

Server-side configuration: To automatically start tmux on your remote server when ordinarily logging in via SSH (and only SSH), edit the ~/.bashrc of your user or root (or both) on the remote server accordingly: if [[ $- =~ i ]] && [[ -z “$TMUX” ]] && [[ -n “$SSH_TTY” ]]; then tmux attach-session -t ssh_tmux … Read more

How do I rename a pane in tmux?

Renaming a window Ctrl-b , where Ctrl-b is the default prefix key. Alternatively, run: tmux rename-window <new name> Or type Ctrl-b : rename-window <new name>. Renaming a pane In newer versions you can rename pane using: tmux select-pane -T <title> Or type Ctrl-b : select-pane -T <pane_name>. Also, I have set -g pane-border-status top and … Read more