[X2Go-User] Can x2go session be initiated from a server to listening client?

Stefan Baur X2Go-ML-1 at baur-itcs.de
Thu Apr 9 10:21:29 CEST 2020


Am 07.04.20 um 21:16 schrieb Mike Gabriel:
> On  Mo 06 Apr 2020 19:19:58 CEST, Andrew Munn wrote:
> 
>> I'd like to initiate an x2go session from a server behind a firewall to a
>> listening client with port 22 open.  How can that be done?  thanks!
> 
> Run "ssh -R 12345:localhost:22 user at client" on the server (see man page
> of ssh client for correct usage of -R option) and open up a reverse
> tunnel from some port (e.g. 12345) on the client to port 22 on the
> server (to be more precise, localhost:22).
> 
> Then configure X2Go Client on the client to connect to "Host: localhost"
> and "Port: 12345" and you have your X2Go session ready to roll.

That's not what he asked for.  He wants a listening client, like
vncclient in "-listen" mode, and wants the server to initiate the
connection, without any manual interaction on the client side.  The only
way to approximate that behavior is starting x2goclient over the
server-initiated ssh connection, and passing the required parameters for
an autostarted session - see my more detailed reply to him.

-Stefan


-- 
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: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20200409/8d5c38e6/attachment.sig>


More information about the x2go-user mailing list