<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-forward-container"><br>
<br>
-------- Forwarded Message --------
<table class="moz-email-headers-table" cellspacing="0"
cellpadding="0" border="0">
<tbody>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">Subject:
</th>
<td>x2go and ssh-agent forwarding</td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">Date: </th>
<td>Thu, 19 Oct 2023 21:21:48 +0100</td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">From: </th>
<td>graeme vetterlein <a class="moz-txt-link-rfc2396E" href="mailto:graeme@vetterlein.com"><graeme@vetterlein.com></a></td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:x2go-user@lists.x2go.org">x2go-user@lists.x2go.org</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p><font size="4">Anybody know if this is still current?<br>
</font></p>
<p><font size="4"><br>
</font></p>
<p><font size="4"><a class="moz-txt-link-freetext"
href="https://wiki.x2go.org/doku.php/doc:howto:ssh-agent-workaround"
moz-do-not-send="true">https://wiki.x2go.org/doku.php/doc:howto:ssh-agent-workaround</a></font></p>
<p><font size="4"><br>
</font></p>
<p><br>
</p>
<p>It suggests a patch was available in 2017</p>
<p><br>
</p>
<p>I can see a fresh ssh-agent(1) is getting started (so blocking
access to the original client one)</p>
<p>also I note the use of <span><em>-oClearAllForwardings on the
ssh call x2go makes ..... neither look like good news :-(<br>
</em></span></p>
<p><br>
</p>
<p><br>
</p>
<p>I did try (XFCE) :</p>
<p><br>
</p>
<p>xfconf-query -c xfce4-session -p /startup/ssh-agent/enabled -n
-t bool -s false<br>
<br>
xfconf-query -c xfce4-session -p /startup/ssh-agent/type -n -t
string -s ssh-agent<br>
</p>
<p>And indeed the ssh-agnet was not started, but SSH_AUTH_SOCK
(to tmp/ssh-xxxxxx/agent.PID [ literally PID not a number ]<br>
</p>
<p><br>
</p>
<p>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.<br>
</p>
<p><br>
</p>
<p>BTW. I also ran a test using a "custom desktop" of
/usr/bin/lxterminal ...and in that terminal SSH_AUTH_SOCK was
set</p>
<p>to a non-existant filename(socket) in ~/.x2go <br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>--</p>
<p><br>
</p>
<p>Graeme<br>
</p>
</div>
</body>
</html>