Change tab-title back to default after closing SSH-connection #5912

Open
opened 2026-01-31 00:25:13 +00:00 by claunia · 0 comments
Owner

Originally created by @ad-on-is on GitHub (Jan 14, 2020).

Right now, when I ssh into a server (example.com), the tab-title changes to something like root@example.com:~. When I type exit or the SSH-connection self-closes, the title still persist.

This is somehow confusing, especially when SSH-connections auto-close, but the title imposes, as if the connection is still up.

Expected behavior:

  • Open a new tab (or window): title shows as specified in profiles.json
  • Open SSH-connection: title changes to root@example.com:~
  • Close SSH-connection: title changes back, to the setting from profiles.json

Actual behavior:

  • Open a new tab (or window): title shows as specified in profiles.json
  • Open SSH-connection: title changes to root@example.com:~
  • Close SSH-connection: title still root@example.com:~
Originally created by @ad-on-is on GitHub (Jan 14, 2020). Right now, when I ssh into a server (example.com), the tab-title changes to something like `root@example.com:~`. When I type `exit` or the SSH-connection self-closes, the title still persist. This is somehow confusing, especially when SSH-connections auto-close, but the title imposes, as if the connection is still up. ## Expected behavior: - Open a new tab (or window): title shows as specified in `profiles.json` - Open SSH-connection: title changes to `root@example.com:~` - Close SSH-connection: title changes back, to the setting from `profiles.json` ## Actual behavior: - Open a new tab (or window): title shows as specified in `profiles.json` - Open SSH-connection: title changes to `root@example.com:~` - Close SSH-connection: title still `root@example.com:~`
claunia added the Needs-TriageResolution-ExternalNeeds-Tag-Fix labels 2026-01-31 00:25:13 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5912