Bug 486714 - KNetAttach crashes when trying to connect via SSH when IP is not in known_hosts.
Summary: KNetAttach crashes when trying to connect via SSH when IP is not in known_hosts.
Status: REPORTED
Alias: None
Product: knetattach
Classification: Applications
Component: general (show other bugs)
Version: 6.0.4
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-07 09:48 UTC by Lukas Ruzicka
Modified: 2024-05-07 10:33 UTC (History)
0 users

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


Attachments
The screencast showing the situation. (1.92 MB, video/mp4)
2024-05-07 09:48 UTC, Lukas Ruzicka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Ruzicka 2024-05-07 09:48:20 UTC
Created attachment 169264 [details]
The screencast showing the situation.

SUMMARY

I am trying to make a connection from Dolphin to an SSH server (SFTP). While trying to do so, KNetAttach becomes unresponsive in the moment it needs to approve the authenticity of the server (as the IP is not in the `known-hosts` file) showing a notification at the same time about **Examining the connection.** 

The dialogue can be finished in three ways:
* Hitting the X closing icon -> the action is interrupted and the connection is not created.
* Clicking on the V symbol to dismiss the notification -> KNetAttach crashes and the crash is caught by Abrt. See https://bugzilla.redhat.com/show_bug.cgi?id=2279506 for more information.
* Clicking on the "Stop" button at the notification window -> The action stops but KNetAttach asks for the password.
* Clicking on the "Pause" button at the notification window ->The action is paused and KNetAttach asks for the password and creates the connection anyway.

Any consecutive attempt to create the connection is successful when the IP address already is in the known_hosts.

STEPS TO REPRODUCE
See the screencast.

OBSERVED RESULT
KNetAttach is unresponsive and possibly crashes.

EXPECTED RESULT
KNetAttach creates the connection without any issues.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux KDE (Rawhide)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0