Bug 419661 - Tab naming confused when using complex ssh command
Summary: Tab naming confused when using complex ssh command
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: master
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-05 07:25 UTC by Eric Depagne
Modified: 2020-04-05 07:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Depagne 2020-04-05 07:25:53 UTC
SUMMARY
I am using a rather complex command to ssh to a remote machine that uses the -J switch (-J allows to hop ont a list of machines before connecting to the real one).
The tab name ((%u) %H ) is confused by the alias I'm using and does not contain the correct fields

STEPS TO REPRODUCE
1. Create an alias : alias remote='ssh -YC -J user@192.168.1.1 realuser@192.168.1.255'
2. use the alias to connect to 192.168.1.255
3. confirm the tab name is not realuser@192.168.1.155 but () -J

OBSERVED RESULT
The Tab name is incorrect, as the parsing of the command line is confused but the extra arguments.
The name is () -J

EXPECTED RESULT
I expected the tab name to be realuser@192.168.1.255

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch/linux 5.5.13
(available in About System)
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION