← Back to team overview

lubuntu-desktop team mailing list archive

[Bug 664206] Re: SSH_AUTH_SOCK not being properly set: user has to type password even if saved in the password manager

 

This bug was fixed in the package lubuntu-default-settings - 0.23

---------------
lubuntu-default-settings (0.23) precise; urgency=low

  * usr/share/lubuntu/openbox/menu.xml & rc.xml
   - Re-synchronize with upstream.
   - Workaround loose of focus of lxpanel run window (LP: #889414)
   - Add a rule to maximize all new windows with type normal.
   - Place new windows on the monitor with the mouse, rather than the primary
     monitor.
   - Use scrot -u -b (focused window with border) for the screenshot of the
     current window.
   - Add a shortcut for the power button.
   - Use horizontal presentation of the alt-tab.
   - Add a shortcut to lock the screen (LP: #912499)
  * usr/bin/startlubuntu* & usr/share/lubuntu/xscreensaver/xscreensaver:
   - Add a custom configuration file for xscreensaver, with blank mode by
     default (LP: #578789).
   - Don't append /etc/xdg in xdg path, already done by Xsession.d
   - Start gnome-keyring support for ssh before the session. Thanks urusha for
     the patch (LP: #664206).
 -- Julien Lavergne <gilir@xxxxxxxxxx>   Thu, 26 Jan 2012 00:48:09 +0100

** Changed in: lubuntu-default-settings (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Lubuntu,
which is subscribed to a duplicate bug report (660003).
https://bugs.launchpad.net/bugs/664206

Title:
  SSH_AUTH_SOCK not being properly set: user has to type password even
  if saved in the password manager

Status in GNOME keyring services:
  Unknown
Status in “gdm” package in Ubuntu:
  Invalid
Status in “gnome-keyring” package in Ubuntu:
  Invalid
Status in “lubuntu-default-settings” package in Ubuntu:
  Fix Released
Status in “lxde-common” package in Ubuntu:
  Invalid
Status in “lxsession” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: lxde-common

  SSH_AUTH_SOCK is not being properly set. (Or it is pointing to a sock
  that doesn't accomplish its job.)

  Expected behavior:
  You run "ssh myname@xxxxxxxxxxxx" and the password manager opens a GUI to ask for the passphrase. Once unlocked, it remains unlocked until you log off. Moreover, at that moment of unlocking you can tell it to remember the passphrase forever so it gets automatically unlocked next time you login. Any other application that uses ssh-like connections will find this key unlocked as well.

  Observed behavior:
  You run "ssh myname@xxxxxxxxxxxx" and it prompts you for the key passphrase in the terminal. You run it again, you are prompted again. Any other application that uses ssh-like connections will result in a passphrase prompt as well.

  How to reproduce:
  Enter Lubuntu session
  Open Passwords and Encryption Keys
  Create a Secure Shell key
  Configure this key to some domain you can ssh to
  Open a terminal and run ssh myname@xxxxxxxxxxxx
  You are promted for a password in the terminal interface.

  Partial workaround:
  Here is a partial workaround for a terminal session: export SSH_AUTH_SOCK=`echo /tmp/keyring*/ssh` after the keyring-daemon has been loaded.
  But it only works within the same terminal session, not for other applications that launch ssh-like processes.
  Disclaim: it works for Lubuntu session inside a Ubuntu 10.04 install, with GDM as session manager.

  $ printenv SSH_AUTH_SOCK
  /tmp/ssh-PZgdl10603/agent.10603
  $ ssh mydomain
  Enter passphrase for key '/home/leorolla/.ssh/id_rsa': [pressed ^C]
  $ export SSH_AUTH_SOCK=`echo /tmp/keyring*/ssh`
  $ printenv SSH_AUTH_SOCK
  /tmp/keyring-k3BQQd/ssh
  $ ssh mydomain
  Last login: Wed Oct 20 19:58:06 2010 from ....
  Your default printer is ....
  mydomain:leorolla> [blinking cursor!]

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-keyring/+bug/664206/+subscriptions