When I am SSH'ed into any one of my Linux devices, the title bar on Terminator displays user@hostname, where hostname is the computer I am SSHing from, rather than the computer I am SSH'ed into (i.e. the title bar mirrors $PS1 from the local device rather than the remote device). This makes it very confusing if I am SSH'ed into all 4 computers at the same time and can't see their prompts (as all their title bars are identical!).How can I have Terminator display the correct hostname?
How to have Terminator display remote hostname in title bar?
bash;ssh;terminal;window title;gnome terminator
While it's certainly possible for users to customize their prompt (and make that update the terminal's title), most use the default shell behavior.It sounds as if your local machine is setting the title string as a side effect of your prompt, and that the remote machines are not changing the title.Given that, you can update the title without interference by the remote machines, e.g., using a wrapper script for ssh such as this:#!/bin/bash# trim parameters, leaving just the last (user@hostname or just hostname)title=$(echo $* | sed -e 's/^.* //')printf '\033]0;%s\007' $title/usr/bin/ssh $@and putting that in your executable path ahead of /usr/bin, you could call that ssh and have it set your title string as you visit each remote machine.  After exiting ssh, your local prompt would reset the title string back to the local machine.In a followup comment, OP indicated that the connections are made to an IP-address.  If the remote machine has a hostname, then it would make the procedure clearer to use that, or (if not in DNS) collect the hostnames into the local machine's /etc/hosts.  Ultimately, DNS is the way to go...For reference:Operating System Controls (XTerm Control Sequences)6.3. Xterm Title Bar Manipulations (Bash Prompt HOWTO)