Bug 458436 - Konsole SSH Manager Plugin does not use options from ssh config file
Summary: Konsole SSH Manager Plugin does not use options from ssh config file
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: sshmanager (other bugs)
Version First Reported In: 22.08.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-28 16:04 UTC by shen011619
Modified: 2025-01-01 08:22 UTC (History)
2 users (show)

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 shen011619 2022-08-28 16:04:04 UTC
SUMMARY
Konsole ssh manager shows the hosts from ~/.ssh/config correctly. But when clicking the entry for any host, Konsole displays and runs ssh ip_address.
I search and notice this bug: https://bugs.kde.org/show_bug.cgi?id=450891
I am not sure if I encountered the same bug or a similar one.

STEPS TO REPRODUCE
Example one:
Host aws-lightsail-sg
  HostName 123.456.123.456
  User ubuntu
  Port 22
  IdentityFile ~/.ssh/id_rsa
  LogLevel INFO

OBSERVED RESULT
Click entry for aws-lightsail-sg gets:

ssh 123.456.123.456

EXPECTED RESULT
Execute ssh with options from ~/.ssh/config
Directly run "ssh aws-lightsail-sg" in terminal works.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.19.4-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 30.7 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: HP
Product Name: HP ProBook 430 G8 Notebook PC

ADDITIONAL INFORMATION
Comment 1 lebber 2024-02-25 21:09:40 UTC
A workaround i found was to include the ip addres in the Host:

Host aws-lightsail-sg 123.456.123.456
  HostName 123.456.123.456
  User ubuntu
  Port 22
  IdentityFile ~/.ssh/id_rsa
  LogLevel INFO
Comment 2 Yaron Shahrabani 2025-01-01 08:22:07 UTC
I created a patch which was merged by the developer, it should be included in the next version, please help with testing and validation:
https://invent.kde.org/utilities/konsole/-/merge_requests/1055

We will close this after the fix is out to the public.

Thanks.