Skip to content
Discussion options

You must be logged in to vote

Not sure if I understand the question 100% but I changed tab titles when connecting with ssh by making an ssh wrapper function that just did:

printf '\033]2;%s\007' "$user@$host"

Just grab $1 and split on "@" to get the individual user and host. Is that what you're asking?

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by j4james
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@DHowett
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements
3 participants
Converted from issue

This discussion was converted from issue #19770 on January 23, 2026 17:26.