Inconsistent agent behaviour with ssh on the desktop

Bug #1276938 reported by Eero Aaltonen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
New
Medium
Unassigned

Bug Description

The first thing I usually do after login is that I open a terminal and execute
$ ssh remotehost

Currently about half of time I get the graphical dialog, which will prompt me for my passphrase and store it to the keyring, which is fine.

The other half of the time I instead get prompted in the terminal for my passphrase
    Enter passphrase for key <mykey>

which does not store it to the keyring. I can add my key to the keyring with `ssh-add` but this altering behaviour is weird and inconsistent.

I have two key(pair)s on my computer, in case that's relevant.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: ssh (not installed)
ProcVersionSignature: Ubuntu 3.11.0-15.25-generic 3.11.10
Uname: Linux 3.11.0-15-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
Date: Thu Feb 6 09:50:27 2014
InstallationDate: Installed on 2013-09-10 (149 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
SourcePackage: openssh
UpgradeStatus: Upgraded to saucy on 2013-10-23 (105 days ago)

Revision history for this message
Eero Aaltonen (ejn) wrote :
description: updated
Robie Basak (racb)
summary: - Inconsistent behaviour on SSH connections
+ Inconsistent agent behaviour with ssh on the desktop
Changed in openssh (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Seth Arnold (seth-arnold) wrote :

This reminds me of https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/1271591 -- I'm not confident that it is a duplicate -- but the symptoms feel very similar.

Thanks

Revision history for this message
Eero Aaltonen (ejn) wrote :

This indeed appears to be a duplicate of #1271591. I checked the value of SSH_AUTH_SOCK

When prompted in terminal:
$ echo $SSH_AUTH_SOCK
/tmp/ssh-m3uUUZCXI6xj/agent.2567

When prompted by gnome-keyring
~$ echo $SSH_AUTH_SOCK
/run/user/1000/keyring-ABCDef/ssh

Revision history for this message
Robie Basak (racb) wrote :

Thanks Eero!

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.