[konsole] [Bug 331429] Tab title for SSH connections does not display username (%u) when using .ssh/config data

Forest bugzilla_noreply at kde.org
Tue Mar 15 00:05:09 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=331429

Forest <forestix at sonic.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |forestix at sonic.net

--- Comment #8 from Forest <forestix at sonic.net> ---
This behavior also turns up without ~/.ssh/config, if the user just runs "ssh
hostname", as is common when the remote and local username is the same.

These days, I think escape sequences in the bash PS1 var are so widely used
that it might be better to just let the remote shell set the tab title. This
has the benefit of showing the correct remote username when su or sudo are
used. To make Konsole do this, set the remote tab title format to "%w".

I haven't been using other shells or many distros lately, so I don't know if %w
would be a good default.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list