[X2Go-Dev] [X2GO] SSH agent forwarding
Stefan Baur
X2Go-ML-1 at baur-itcs.de
Mon Mar 19 18:39:07 CET 2018
Am 19.03.2018 um 13:09 schrieb Mike Gabriel:
> Hi,
>
> On Di 13 Mär 2018 13:26:16 CET, Antoine Tran wrote:
>
>> Dear all,
>>
>> Regarding
>> https://wiki.x2go.org/doku.php/doc:howto:ssh-agent-workaround, what is
>> the current status? I tried latest 4.1.1.1 and this issue is still not
>> solved, even though there might be some improvement. I can see now in
>> export what seems to me a valid PID, socket, etc.:
>>
>> > export
>>
>> declare -x SSH_AGENT_PID="16945"
>> declare -x SSH_AUTH_SOCK="/tmp/ssh-CAjx51laLmty/agent.16903"
>> declare -x SSH_CLIENT="10.0.1.81 33414 22"
>> declare -x SSH_CONNECTION="10.0.1.81 33414 172.17.0.2 22"
>>
>> > ps aufx|grep 16945
>> trana 16945 0.0 0.0 52916 584 ? Ss 12:16 0:00
>> \_ /usr/bin/ssh-agent /bin/bash -c exec -l "/bin/bash" -c
>> "/usr/bin/env
>> LD_LIBRARY_PATH=/usr/lib64/nx/X11/Xinerama:/usr/lib64/nx/X11 startkde"
>>
>> > ll $SSH_AUTH_SOCK
>> srw------- 1 trana trana 0 Mar 13 12:16
>> /tmp/ssh-CAjx51laLmty/agent.16903
>>
>> But the ssh from a a console in Kde, that has these variable, does not
>> use ssh agent. I can see that in ssh -vvvvvvvv
>>
>> Thanks.
>
> still not being worked on afaik.
Mihai, please correct me if I'm wrong, but I think the situation is more
like this: The earlier libssh version we used didn't support agent
forwarding, the newer one does, but it doesn't work with X2GoClient yet,
at least not in all cases. That's why you're suddenly seeing an
SSH_AUTH_SOCK variable set, but e.g. pointing to a non-existent file.
So yes, there's still work to do, but the new libssh should make it at
least easier.
Sponsors, anyone? ;-)
Kind Regards,
Stefan Baur
--
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20180319/f8965e8e/attachment.sig>
More information about the x2go-dev
mailing list