Accessing your gnome (ssh) keyring from outside the Desktop session

Philip Prindeville philipp_subx at redfish-solutions.com
Sun Jul 25 17:54:45 UTC 2010


  On 7/24/10 7:12 PM, Siddhesh Poyarekar wrote:
> On Sun, Jul 25, 2010 at 3:05 AM, Philip A. Prindeville
> <philipp_subx at redfish-solutions.com>  wrote:
>> I normally leave a Gnome session running on my build machine for months
>> at a time, but don't always work directly on that machine (at it's
>> keyboard and monitor).
>>
>> Sometimes I ssh into it remotely to look at progress from automated
>> builds, and occasionally to push out a build.
>>
>> The issue is this:  when I ssh into it, I don't have access to the keys
>> that I've stored in the ssh-agent.
>>
>> Well, it's not exactly an ssh-agent.  It's the gnome-keyring-daemon that
>> gets started as part of the desktop as:
>>
>> /usr/bin/gnome-keyring-daemon --start --components=ssh
>>
> <snip>
>> Anyone have a simple mechanism for getting that into your ssh sessions?
>>
> seahorse ought to help you with this.
>

Ok, I'll give it a look.  But in general, just as X runs xinit.rc or .xsessionrc on startup, does Gnome desktop have a startup and exit script it runs?  I need to bracket all of the "Startup Applications" with something that runs before, and something that runs after them (on exit).

Thanks.



More information about the users mailing list