Créez et rendez executable le script termtitle suivant :

#!/bin/sh
echo -en "\033]0;$*\a"

Il peut ensuite s'utiliser comme ceci :

termtitle SSH Work