Bug 509520 - Unable to cancel SSH login attempt with the Login Popup
Summary: Unable to cancel SSH login attempt with the Login Popup
Status: REPORTED
Alias: None
Product: ksshaskpass
Classification: Applications
Component: general (other bugs)
Version First Reported In: 6.4.4
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Jeremy Whiting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-15 14:34 UTC by Brian
Modified: 2025-09-17 09:44 UTC (History)
2 users (show)

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


Attachments
You get a popup when you ssh into any server. (36.67 KB, image/png)
2025-09-15 14:34 UTC, Brian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian 2025-09-15 14:34:00 UTC
Created attachment 184962 [details]
You get a popup when you ssh into any server.

SUMMARY
I installed updates and I started getting GUI popups when I login to SSH via KDE Neon 24.04

STEPS TO REPRODUCE
1. SSH into a server
2. root@host.example.com
3. Get a popup enter SSH credentials

OBSERVED RESULT
You can login, but the popup is unexpected. Normally, it displays the login in the terminal, not as a popup. Also, as a side effect, if you enter the wrong password, it will ask you to login repeatedly until the end server stops your attempts. You can't Ctrl+C cancel the login. Clicking the cancel button doesn't work either. It simply asks you to login again. This repeated login can get your IP blocked by the end server because it thinks you're trying to brute force login. You have to kill you entire SSH window which causes other issues. I just want the old login style.

EXPECTED RESULT
You should get the login prompt in the terminal, not as a popup.

SOFTWARE/OS VERSIONS
bcorson@tardis:~$ kinfo
ERROR:             VkInstanceCreateInfo::pApplicationInfo::apiVersion has value of 0 which is not permitted. If apiVersion is not 0, then it must be greater than or equal to the value of VK_API_VERSION_1_0 [VUID-VkApplicationInfo-apiVersion]
Operating System: KDE neon User Edition
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.14.0-29-generic (64-bit)
Graphics Platform: X11
Processors: 12 × 13th Gen Intel® Core™ i7-1365U
Memory: 32 GiB of RAM (31.0 GiB usable)
Graphics Processor: Intel® Iris® Xe Graphics

bcorson@tardis:~$ ssh -V
OpenSSH_9.6p1 Ubuntu-3ubuntu13.13, OpenSSL 3.0.13 30 Jan 2024

ADDITIONAL INFORMATION
Comment 1 Brian 2025-09-16 00:22:28 UTC
I found out, it's related to KDE Wallet and ksshaskpass. I don't know how to disable it yet, but I found this article on it.
https://askubuntu.com/questions/1522613/ssh-on-kde-keeps-showing-a-gui-asking-for-a-password
Comment 2 Brian 2025-09-16 14:45:20 UTC
OK so apparently this is a feature, not a bug. But it's an unwanted feature that comes with bugs. For example, the cancel button doesn't in-fact cancel the SSH attempt. It just pops up again asking for a password again. If I decide that I signed into the wrong server, I have to close my terminal to stop the sign in process as Ctrl+C doesn't work in the GUI. Or I have to keep clicking on cancel until the server says I tried too many times.

It would be good if there was an option to easily turn this off. I don't use KDE wallet and disabling KDE wallet doesn't stop the popups. I use keepassx and keepassxc-cli and for work, we have our own system to copy and paste passwords.

I love KDE because of it's flexibility as opposed to Gnome and that KDE also reminds me of Windows 7 with it's interface. It's great. This should be a feature toggle. I'll probably eventually figure out how to disable it, but it will be through hacking which I don't like.
Comment 3 TraceyC 2025-09-16 17:09:38 UTC
Sending to the folks responsible for ksshaskpass, which is responsible for the pop-up
Comment 4 michaelk83 2025-09-17 09:44:18 UTC
(In reply to Brian from comment #2)
> I'll probably eventually figure out how to disable it, but
> it will be through hacking which I don't like.

Did you try uninstalling ksshaskpass? If it still gives you a popup after that, that one should be from somewhere else. If the new popup is from kwallet, you should be able to disable it.