[Bug 841672] Re: ssh-add does not always unlock ssh keys

Hamish Downer 841672 at bugs.launchpad.net
Tue Apr 24 10:35:35 UTC 2012


Scratch my last workaround (#13). It didn't work. This one does though

Stop gnome-keyring ssh-agent from starting. Then ssh-agent and ssh works
as expected.

To stop gnome-keyring ssh-agent from starting do:

    sudo mv /etc/xdg/autostart/gnome-keyring-ssh /etc/xdg/autostart
/gnome-keyring-ssh.desktop.disabled

I first posted this, plus a load of stuff about trying to work through
the problem at http://askubuntu.com/questions/122824/how-to-manually-
trigger-ssh-add-dialog-box/

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/841672

Title:
  ssh-add does not always unlock ssh keys

Status in “openssh” package in Ubuntu:
  Confirmed

Bug description:
  When I execute ssh-add it asks for my keys passwords and confirms that
  they were unlocked, but when I try to ssh into a server I am asked for
  my password again via the ssh-askpass-gnome prompt.

  Here's an (edited and cut) version of my .ssh/config file:

  =====================================================
  VisualHostKey yes
  Host myhost1
  	Hostname myhost1.url
  	User user
  	PreferredAuthentications publickey
  	IdentityFile ~/.ssh/id_dsa
  	Compression yes
  	Compressionlevel 6

  Host myhost2
  	Hostname myhost2.url
  	User user
  	PreferredAuthentications publickey
  	Compression no

  Host myhost3 myhost4 myhost5
  	Hostname myhost3.url
  	User user
  	PreferredAuthentications publickey
  	Compression yes
  	Compressionlevel 6

  [...]

  =====================================================

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: ssh-askpass (not installed)
  ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
  Uname: Linux 3.0.0-10-generic x86_64
  Architecture: amd64
  Date: Mon Sep  5 11:29:43 2011
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ssh-askpass
  UpgradeStatus: Upgraded to oneiric on 2011-06-29 (68 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/841672/+subscriptions




More information about the foundations-bugs mailing list