Bug 405569

Summary: Cannot change username in ksshaskpass
Product: [Applications] ksshaskpass Reporter: Alexander Potashev <aspotashev>
Component: generalAssignee: Jeremy Whiting <jpwhiting>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.14.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Potashev 2019-03-17 16:25:44 UTC
SUMMARY
Cannot change username in ksshaskpass.

STEPS TO REPRODUCE
1. Run ksshaskpass and enter a username, e.g. "abc".
2. Re-run ksshaskpass.

OBSERVED RESULT
Now ksshaskpass only asks for password for username "abc".

EXPECTED RESULT
ksshaskpass should have an option to change username from "abc" to something else, e.g. for the case if you mistyped "abc".

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

Операционная система: Fedora 29
Версия KDE Plasma: 5.14.5
Версия Qt: 5.11.3
Версия KDE Frameworks: 5.55.0
Версия ядра: 4.20.4-200.fc29.x86_64
Архитектура: 64-битная
Процессоры: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Память: 15,4 ГиБ ОЗУ


ADDITIONAL INFORMATION
Comment 1 Alexander Potashev 2019-03-17 20:14:45 UTC
Workaround: use kwalletmanager5 to delete the saved password.
Comment 2 Christoph Feck 2019-03-31 08:20:36 UTC
It is not possible. The ssh application calls the password UI helper ksshaskpass twice, once for the username, once for the password.

You would need to use a GUI ssh application to be able to fix it.