I am frequently connecting to several servers over SSH at once and like to use tmux to organize those different sessions. To be able to keep track which pane is which server I am using the following function in my .bashrc
file to display the machine name in tmux’s pane title.
https://gist.github.com/florianbeer/ee02c149a7e25f643491
Set tmux pane title on SSH connections was written by Florian Beer and originally appeared on http://blog.no-panic.at/2015/04/21/set-tmux-pane-title-on-ssh-connections/