Public bug reported: Currently the user has to check `echo $?` to figure out that the key hasn't been added and very likely assumes that it has been added in case the password was wrong and the key couldn't be added with `ssh-add`.
ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: openssh-client 1:6.7p1-5ubuntu1 Uname: Linux 4.0.1-040001-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 CurrentDesktop: Unity Date: Fri May 1 18:36:37 2015 EcryptfsInUse: Yes InstallationDate: Installed on 2015-04-02 (28 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Beta amd64 (20150326) ProcEnviron: TERM=xterm PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=de_DE.UTF-8 SHELL=/bin/bash RelatedPackageVersions: ssh-askpass N/A libpam-ssh N/A keychain N/A ssh-askpass-gnome 1:6.7p1-5ubuntu1 SSHClientVersion: OpenSSH_6.7p1 Ubuntu-5ubuntu1, OpenSSL 1.0.1f 6 Jan 2014 SourcePackage: openssh SystemImageInfo: current build number: 0 device name: channel: daily last update: Unknown UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: openssh (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug vivid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1450843 Title: ssh-add should print error message when entered key password is wrong To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1450843/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs