Thank you for the bug report. It seems to me that this is a MATE-specific configuration, and not something related to openssh. When you ssh into a host, ssh takes control of the terminal and the PS1 variable becomes something else, which is reflected on the window title. When you log out of the ssh connection, PS1 doesn't get overwritten again because the control is now back to your shell.
Maybe there are ways to force the window title to be "refreshed" when you disconnect, but I don't know offhand, sorry. I'm setting the bug as Invalid for openssh. ** Changed in: openssh (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1932980 Title: window title in mate terminal not change after I logout from ssh To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-mate/+bug/1932980/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs