ssh-add should print error message when it fails

Bug #1450843 reported by Karl-Philipp Richter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Currently only the case when the key password is wrong is covered (with an error message), otherwise the user has to check `echo $?` to figure out that the key hasn't been added and very likely assumes that it has been.

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)

Revision history for this message
Karl-Philipp Richter (krichter722) wrote :
summary: - ssh-add should print error message when entered key password is wrong
+ ssh-add should print error message when it fails
description: updated
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Can you elaborate on a test case?

Changed in openssh (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openssh (Ubuntu) because there has been no activity for 60 days.]

Changed in openssh (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.