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

            Bug ID: 486973
           Summary: Unable to remember password for custom prompt
    Classification: Applications
           Product: ksshaskpass
           Version: 6.0.4
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jpwhit...@kde.org
          Reporter: joel...@protonmail.com
  Target Milestone: ---

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
The usual prompt by sshd is like this:
"user@host's password:"
For some reason, a major compute cluster at my university has a custom prompt
like this:
"(user@host) Password:"

So I get a message like this:
"ksshaskpass: Unable to parse phrase "(jm3...@viking.york.ac.uk) Password: ""
and it doesn't save the password.

To fix this would it be possible to have a config file where I can put in a
regex format string for the prompt, or could the program default to saving the
exact string if it can't parse it?

I don't know how or why this server has the prompt that it does.
If it helps, the server is running "Flight Direct r2023.1 Based on Rocky Linux
8.9".

STEPS TO REPRODUCE
1. Visit a server with a custom password prompt
2. Enter a password and select save password
3. Logoff and connect again

OBSERVED RESULT
Password isn't saved

EXPECTED RESULT
Password is saved


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 6.0-2
KDE Frameworks Version: 
Qt Version: 6.7.0-6

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to