← Back to team overview

desktop-packages team mailing list archive

[Bug 1067301] Re: gnome-keyring does not support "ssh-add -c"


In 14.04.3 LTS it seems to be fixed so it is possible to load a key into
the agent using 'ssh-add -c' but then the confirmation dialog pops up
and does not accept the key's passphrase.  Resulting in :

Agent admitted failure to sign using the key.
Permission denied (publickey,keyboard-interactive).

However, just pressing 'OK' on the gnome-ssh-askpass dialog goes ahead
with the login.  So the input field should be removed from gnome-ssh-
askpass or else a different tool used, since entering anything in it
causes the login to fail.

You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-keyring in Ubuntu.

  gnome-keyring does not support "ssh-add -c"

Status in GNOME Keyring:
Status in gnome-keyring package in Ubuntu:
Status in gnome-keyring package in Debian:

Bug description:
  ssh-add does not work with -c (confirmation) when used with gnome-
  keyring (which is the common default in many desktop environments).
  This is a missing upstream feature in gnome-keyring (see upstream

  Workaround: switch to using ssh-agent instead. See upstream bug for

  [Original Description]

  ssh-add seems not to work with the confirmation (-c) option.  Trying
  to require that identities be subject to confirmation when used brings
  up the error "Error reading response length from authentication
  socket. "

   $ ssh-add -c /home/user/.ssh/key_rsa
   Enter passphrase for /home/user/.ssh/key_rsa:
   Error reading response length from authentication socket.
   Could not add identity: /home/user/.ssh/key_rsa

  Addding keys not subject to confirmation when used works as normal:

   $ ssh-add  /home/user/.ssh/key_rsa
   Enter passphrase for /home/user/.ssh/key_rsa:
   Identity added: /home/user/.ssh/key_rsa (/home/user/.ssh/key_rsa)

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: openssh-client 1:6.0p1-3ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  Uname: Linux 3.5.0-17-generic x86_64
  ApportVersion: 2.6.1-0ubuntu3
  Architecture: amd64
  Date: Tue Oct 16 13:55:08 2012
  InstallationMedia: Lubuntu 12.10 "Quantal Quetzal" - Release amd64+mac (20121015)
   PATH=(custom, no user)
   ssh-askpass       N/A
   libpam-ssh        N/A
   keychain          N/A
   ssh-askpass-gnome N/A
  SSHClientVersion: OpenSSH_6.0p1 Debian-3ubuntu1, OpenSSL 1.0.1c 10 May 2012
  SourcePackage: openssh
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to: