[X2Go-User] Fwd: x2go and ssh-agent forwarding

graeme.x2go at vetterlein.com graeme.x2go at vetterlein.com
Fri Oct 20 16:46:34 CEST 2023




-------- Forwarded Message --------
Subject: 	x2go and ssh-agent forwarding
Date: 	Thu, 19 Oct 2023 21:21:48 +0100
From: 	graeme vetterlein <graeme at vetterlein.com>
To: 	x2go-user at lists.x2go.org



Anybody know if this is still current?


https://wiki.x2go.org/doku.php/doc:howto:ssh-agent-workaround



It suggests a patch was available in 2017


I can see a fresh ssh-agent(1) is getting started (so blocking access to 
the original client one)

also I note the use of /-oClearAllForwardings on the ssh call x2go makes 
..... neither look like good news :-(
/



I did try  (XFCE) :


xfconf-query -c xfce4-session -p /startup/ssh-agent/enabled -n -t bool 
-s false

xfconf-query -c xfce4-session -p /startup/ssh-agent/type -n -t string -s 
ssh-agent

And indeed the ssh-agnet was not started, but SSH_AUTH_SOCK (to 
tmp/ssh-xxxxxx/agent.PID   [ literally PID not a number ]


FYI I need to use the keys to access github and I don't want to put them 
on the machine I'm x2going into.


BTW. I also ran a test using a "custom desktop" of /usr/bin/lxterminal 
...and in that terminal SSH_AUTH_SOCK was set

to a non-existant filename(socket) in ~/.x2go



--


Graeme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x2go.org/pipermail/x2go-user/attachments/20231020/14be74c2/attachment.htm>


More information about the x2go-user mailing list