1 2 3 4 5 6 7
#!/bin/bash host="$1" session="${2:-default}" title="${3:-tmux $session on $host}" xfce4-terminal --title="$title" -x ssh-and-tmux "$host" "$session"