[X2go-dev] x2goclient and ssh-agent

Heiko Baumann heiko at oss.hboss.de
Mon May 16 11:50:39 CEST 2011


 hi,

 are there any plans to support ssh-agent forwarding?

 regards
 heiko

 On Wed, 27 Apr 2011 23:31:07 +0200, Heiko Baumann <heiko at oss.hboss.de> 
 wrote:
> Hi Oleksandr,
>
> thanks for the info. i tried the new version and ssh-agent login
> works great. but i've also hacked my patch yesterday to support agent
> forwarding. this way i can use sshfs to mount a remote directory
> without password into my x2gosession.
>
> this does not work with the new version. the changelog shows that you
> now use libssh. is it possible to add this feature? would be really
> useful.
>
> thanks
> heiko
>
> On Wed, 27 Apr 2011 13:51:24 +0200, Oleksandr Shneyder
> <oleksandr.shneyder at obviously-nice.de> wrote:
>> Am 22.04.2011 21:30, schrieb Heiko Baumann:
>>> hi,
>>>
>>> because no one cared about my request i tried to fix it by myself.
>>> attached is a patch which adds an --ssh-agent option to x2goclient. 
>>> if
>>> x2goclient is called with this option it uses a running ssh-agent 
>>> to
>>> connect to the x2goserver.
>>>
>>> btw. i dont know anything about coding C++ nor anything about 
>>> x2goclient
>>> development. so maybe this patch does break something else or may 
>>> be a
>>> bad hack. however it works for me.
>>>
>>> maybe the x2go devs could include it (or write a better one :)) in 
>>> one
>>> of the next releases? this would be great because i now have SSO 
>>> with my
>>> usb token for all important tools. ssh-agent is started at logon 
>>> and
>>> everything works without entering my passphrase again (ssh/scp, 
>>> sshfs,
>>> nxclient, x2goclient etc.).
>>>
>>> regards
>>> heiko
>>>
>>
>>
>> Hello Heiko,
>>
>> there is a "Try auto login (ssh-agent or default ssh key)" option in
>> preferences of a X2Go-session since x2goclient-3.01-14
>>
>> regards,
>
> _______________________________________________
> X2go-dev mailing list
> X2go-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/x2go-dev




More information about the x2go-dev mailing list