[X2go-dev] x2goclient and ssh-agent
Heiko Baumann
heiko at oss.hboss.de
Fri Apr 22 21:30:13 CEST 2011
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
On Sat, 09 Apr 2011 14:59:35 +0200, Heiko Baumann <heiko at oss.hboss.de>
wrote:
> hi all,
>
> is it still not possible to use x2goclient with a running ssh agent?
>
> regards
> heiko
>
> On Thu, 04 Nov 2010 16:28:45 +0100, Heiko Baumann
> <heiko at oss.hboss.de> wrote:
>> do you use ssh-agent oder just a ssh key with passphrase? i my case
>> using a
>> ssh key (with or without passphrase) works great but if run
>> something like
>> this:
>>
>> eval `ssh-agent -s`
>> ssh-add
>>
>> before starting x2goclient from this shell it does not use the
>> running
>> agent. if i do a simple "ssh -l username sshhost" from the same
>> shell it
>> works without asking a password.
>>
>> it looks like x2goclient does not care about a running ssh-agent!?
>>
>> using it that way would be a great improvement in security imho and
>> makes
>> single-sign-on possible if you start your ssh-agent at login
>> time.....
>>
>> greetz
>> heiko
>>
>> On Thu, 04 Nov 2010 15:53:08 +0100, Philipp Huebner
>> <debalance at debian.org>
>> wrote:
>>> IIRC,
>>> it simply worked for me.
>>> Instead of a password, the passphrase was being asked.
>>>
>>> All I had to do was a normal login via SSH previously to get the
>>> known_hosts stuff sorted.
>>>
>>> Regards,
>> _______________________________________________
>> X2go-dev mailing list
>> X2go-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/x2go-dev
>
> _______________________________________________
> X2go-dev mailing list
> X2go-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/x2go-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x2goclient-3.01.5-ssh-agent.patch
Type: text/x-c++
Size: 8084 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20110422/ec739a82/attachment.bin>
More information about the x2go-dev
mailing list