Bug 495525 - SSH password prompt not being parsed
Summary: SSH password prompt not being parsed
Status: REPORTED
Alias: None
Product: ksshaskpass
Classification: Applications
Component: general (show other bugs)
Version: 6.3.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Jeremy Whiting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-29 10:53 UTC by siavosh.kasravi
Modified: 2025-02-16 11:53 UTC (History)
1 user (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 siavosh.kasravi 2024-10-29 10:53:14 UTC
SUMMARY
Can't parse ssh prompt.

STEPS TO REPRODUCE
1.  ssh me@serverip

OBSERVED RESULT
ksshaskpass: Unable to parse phrase "(me@serverip) Password: "

EXPECTED RESULT
Detecting the password prompt and providing the password.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-9700 CPU @ 3.00GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Manufacturer: HP
Product Name: HP ProDesk 600 G5 SFF

ADDITIONAL INFORMATION
Seems that "^(.*@.*)'s password: $") should be "^(.*@.*)'s [P|p]assword: $")
in https://github.com/KDE/ksshaskpass/blob/master/src/main.cpp:64