Password for SSH keys aren't stored in keyring

Bug #385331 reported by Erik Helin
32
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-keyring (Ubuntu)
Incomplete
Low
Ubuntu Desktop Bugs

Bug Description

When using SSH with a ssh key that is password protected, the gnome-keyring doesn't ask for the password of the ssh key. In Ubuntu 8.10, gnome-keyring used to ask for the password of the ssh key, and then stored it and automatically remembered it. Other people seem to have this problem as well according to this thread: http://ubuntuforums.org/showthread.php?t=1145017&page=1.

Ubuntu version: 9.04
gnome-keyring version: 2.26.1

Expected to happen:
gnome-keyring prompting me for a password and then remember it for future ssh sessions.

What happened instead:
I was asked for the password of the ssh key in gnome-terminal

This is my first bug report here on launchpad, if you need any more information, please tell me so and I will provide it.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:

 * Is this reproducible?
 * If so, what specific steps should we take to recreate this bug?

 This will help us to find and resolve the problem.

Changed in gnome-keyring (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Erik Helin (helino) wrote :

Sorry for the late answer, been busy at work.

* Is it reproducible?
Yes, it's reproducible.

* Steps to reproduce:
1. Copy an existing private ssh key to the folder ~/.ssh/id_rsa (or create a new ssh key and add that key to the server)
2. Try to make a connection to the ssh server which the key unlocks
3. Now you will get asked for a password in the terminal, not by the gnome keyring, and the password won't be stored for future use

I reproduced the bug both by creating a new key, and by copying an older key.

Revision history for this message
trojanfoe (trojanfoe) wrote :

I would like to confirm this bug on my installation of Ubuntu 9.04, gnome-keyright version 2.26.1-0ubuntu1

Revision history for this message
brynhood (nathan-van-overloop) wrote :

I observed that if you change the id_*sa.pub file in your .ssh directory to something else (eg. mykeypublic.pub) then he will not lauch the gnome keyring popup for unlocking the private key. If you rename your public key to the original (eg. id_dsa.pub) then again the gnome-keyring popup is launced again. So your public key and private key should concur in both file name and content.

to me this bug is more a duplicate of:
https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/375341

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.