Bug 67823 - Put ssh-add in default session
Summary: Put ssh-add in default session
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-session
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact:
URL:
Whiteboard:
: 122159 (view as bug list)
Depends On:
Blocks: 130104
TreeView+ depends on / blocked
 
Reported: 2002-07-02 15:12 UTC by Jonathan Blandford
Modified: 2013-04-02 04:16 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-04-17 04:37:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Havoc Pennington 2002-07-02 15:12:44 UTC
Xsession now runs ssh-agent by default. Put ssh-add in the default session.

(Implementation issue, I don't think ssh-add is session aware.)

Comment 1 Havoc Pennington 2002-07-15 04:09:49 UTC
Rather than putting it in the session we may just need to hack the gnome-session
source, or the scripts in xinitrc. Of course then people can't get rid of it.

Comment 2 Preston Brown 2002-07-15 18:43:48 UTC
 I managed to get it into my default session by running the utility for managing startup 
programs, so it shouldn't need to be hardcoded.

Comment 3 Havoc Pennington 2002-07-29 16:24:22 UTC
Marking the head of the priority queue with priority high

Comment 4 Kjartan Maraas 2004-03-29 21:52:29 UTC
Is this still relevant?

Comment 5 Ray Strode [halfline] 2005-04-08 15:02:06 UTC
Yes.  Ideally we'd forward credentials from pam or something so the user doesn't
have to enter a password twice.  That gets complicated when you factor in
ssh-agent and that the password associated with a ssh key doesn't have to match
the login password.

Before adding to the default session we need to investigate what happens if the
user doesn't have ssh-gnome-askpass installed or if SSH_ASKPASS is configured to
use the terminal ask pask program.  Does it detect that we aren't attached to a
tty and exit quietly or does it hang around waiting for forever?



Comment 6 Ray Strode [halfline] 2005-04-08 15:12:50 UTC
*** Bug 122159 has been marked as a duplicate of this bug. ***

Comment 7 Gregory Leblanc 2005-04-08 22:26:37 UTC
Ray asked me to test behaviour with some variations of ssh-askpass and
ssh-askpass-gnome installed.  Tested out what happens with no askpass program
installed (prints an error to stdout, returns), what happens with only the
openssh-askpass program installed (displays the slightly uglier X-only askpass),
and with both installed, and my environment's SSH_ASKPASS set to null, the
openssh-askpass program, and the openssh-askpass-gnome program.  Behavior seems
to be much as expected, the X only program runs unless SSH_ASKPASS is set
explicitly to the GNOME version.  

Comment 9 Matthias Clasen 2008-04-17 04:37:17 UTC
This bug has been obsoleted by gnome-keyrings growing of ssh-agent support, I
beleive.


Note You need to log in before you can comment on or make changes to this bug.