[X2Go-User] Global ssh-agent

Dmitry Bely dmitry.bely at gmail.com
Wed Nov 25 10:56:16 CET 2015


Hi Dirk,

>>> the PID is set via eval $(ssh-agent).
>>
>> Sure. The problem is that when I do "eval `ssh-agent" in ~/.bashrc, it
>> sets SSH_AGENT_PID but then it's unset somewhere (where and why?).
>> This happens only under x2go, SPICE session works as expected (but
>> SPICE is unusable for other reasons)
>
>
> every new session has to set the variable as well. It is not inherited
> automagically to other sessions.
>
>> Where do you put this code? Do you have the only instance of ssh-agent
>> per X session?
>
>
> Yes. This code is in my ~/.bashrc

This way it still does not work for GUI apps launched from the desktop
environment (MATE in my case). I'm trying to add ssh keys via
keepass2/keeagent (it doesn't see ssh-agent) and then use them in
other GUI apps (Eclipse etc.)

- Dmitry Bely


More information about the x2go-user mailing list