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@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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Reply via email to