[X2Go-User] Chaining of x2go via 2 sessions, proxy? What is best solution?

Stefan Baur newsgroups.mail2 at stefanbaur.de
Sun Jan 12 23:05:43 CET 2014


Am 12.01.2014 18:57, schrieb Buddy Butterfly:

[multi-hop SSH/X2Go]
 >>     Is probably an ssh forward enough?

SSH forwarding does the trick.

So, instead of

ssh -p externalsshport externaluser at externalip.or.domain.name

simply do

ssh -L2222:internal.ip.or.name.of.x2gohost:22 -p externalsshport \
externaluser at externalip.or.domain.name

Then connect your X2goclient to internaluser at localhost:2222.

If you already use 2222 for something else, change it to anything 
available in both the ssh and the x2go call.

If you're using any other port than 22 for your internal connection to 
your x2gohost, change the 22 in the ssh call.

Of course, you could also consider something more elaborate like 
routing, firewalling and portforwarding, or a VPN connection.

-Stefan




More information about the x2go-user mailing list