| Summary: | Unable to remember password for custom prompt | ||
|---|---|---|---|
| Product: | [Applications] ksshaskpass | Reporter: | joelsgp <joelsgp> |
| Component: | general | Assignee: | Jeremy Whiting <jpwhiting> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | avg, krystof, lysfjord.daniel+bugs.kde.org, me |
| Priority: | NOR | ||
| Version First Reported In: | 6.0.4 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
patch to catch kbdinteractive
Add support for FreeBSD and openssh kbdinteractive |
||
|
Description
joelsgp@protonmail.com
2024-05-13 15:53:06 UTC
I can confirm that this is still an issue in ksshaskpass-6.4.2. Custom password prompts are not that rare. > For some reason, a major compute cluster at my university has a custom prompt like this:
> "(user@host) Password:"
This is *not* a custom prompt, far from it, this is indeed the default password prompt for openssh's keyboard-interactive auth method. It's the one that's used with the stock sshd config!
I had the same problem and with help from other people I found the problem is that the ksshaskpass dosent support the keyboard interactive prompt format which is on some distributions like debian disabled (https://manpages.debian.org/unstable/openssh-server/sshd_config.5.en.html). So the solution to fix it is simply to disable the KbdInteractiveAuthentication option. Created attachment 186146 [details]
patch to catch kbdinteractive
I grew tired of the lack of support for kbdinteractive, so, here's a patch.
Created attachment 186148 [details]
Add support for FreeBSD and openssh kbdinteractive
FreeBSD adds a space on the end of the prompt. Update patch to support both with and without space on the end..
|