Comment 2 for bug 412197

Revision history for this message
Jakob Unterwurzacher (jakobunt) wrote :

Looking at the openssh source code it seems like
(1) The error message for a wrong password, "Permission denied", is not localized
(2) It has not changed since 2001
See line 445 on https://github.com/SimonWilkinson/openssh/blame/master/sshconnect2.c (github mirror of the openssh cvs)

Also in libssh, it seems like you also get just an error string that you have to parse yourself, see http://api.libssh.org/master/group__libssh__error.html . So libssh probably won't make it a lot easier.

I have written a patch so the ssh error message is recorded and show to the user (in bug 1325388). Localization is missing, but it basically does what the bug reporter wants, so I am marking this bug as a duplicate.