[konsole] [Bug 479756] New: Konsole takes a long time to start with large .ssh/config

Vitalii bugzilla_noreply at kde.org
Sat Jan 13 18:21:27 GMT 2024


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

            Bug ID: 479756
           Summary: Konsole takes a long time to start with large
                    .ssh/config
    Classification: Applications
           Product: konsole
           Version: 23.08.1
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: plugins
          Assignee: konsole-devel at kde.org
          Reporter: 7a2020 at gmail.com
  Target Milestone: ---

SUMMARY
***
My .ssh/config is over 23000 lines long. About half a year ago (possibly
earlier), after the next update, launching Konsole began to take more than 10
seconds. I recently took the time to find out the reason. The reason turned out
to be the SSH Manager plugin. Every time you start Konsole, it reads
.ssh/config and generates .config/konsolesshconfig and it seems to do this in a
far from optimal way.
***


STEPS TO REPRODUCE
1.  Generate large .ssh/config: for i in $(seq 1 10000); do echo -e "Host
test-$i\nHostname 127.0.0.1\n"; done > ~/.ssh/config
2.  Launch Konsole

OBSERVED RESULT
The delay from the moment the Konsole starts until the window appears takes
more than 10 seconds.

EXPECTED RESULT
Konsole should start in less than a second.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: kubuntu 23.10
(available in About System)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Processors: 16 × 13th Gen Intel® Core™ i7-1360P
Memory: 31.0 GiB of RAM
Manufacturer: LENOVO
System version: ThinkPad X1 Carbon Gen 11

ADDITIONAL INFORMATION

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


More information about the konsole-devel mailing list