** Summary changed: - ssh-add: Error reading response length from authentication socket. + gnome-keyring does not support "ssh-add -c"
** Description changed: + 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 bug). + + Workaround: switch to using ssh-agent instead. See upstream bug for + details. + + [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 + $ 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) + $ 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) ProcEnviron: - TERM=xterm - PATH=(custom, no user) - XDG_RUNTIME_DIR=<set> - LANG=en_US.UTF-8 - SHELL=/bin/bash + TERM=xterm + PATH=(custom, no user) + XDG_RUNTIME_DIR=<set> + LANG=en_US.UTF-8 + SHELL=/bin/bash RelatedPackageVersions: - ssh-askpass N/A - libpam-ssh N/A - keychain N/A - ssh-askpass-gnome N/A + 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) ** Changed in: gnome-keyring (Ubuntu) Status: Confirmed => Triaged ** Changed in: gnome-keyring (Ubuntu) Importance: Undecided => Wishlist -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1067301 Title: gnome-keyring does not support "ssh-add -c" To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-keyring/+bug/1067301/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs