[Bug 841672] Re: ssh-add does not always unlock ssh keys
Hamish Downer
841672 at bugs.launchpad.net
Fri Apr 20 08:01:03 UTC 2012
I found a way to trigger the gnome dialog box directly, so I only have
to enter the ssh password once.
I created ~/bin/gssh-add and put the following in it:
SSH_ASK_PASS=/usr/bin/ssh-askpass ssh-add
I then make it executable:
chmod +x ~/bin/gssh-add
And then I launch it using Alt+F2. That triggers the gnome dialog box.
Note that if you run gssh-add from the terminal it will not trigger the
gnome dialog box. See the ENVIRONMENT section of the ssh-add man page
for details as to why.
--
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