This is what I do:

1) Set up a persistent ssh tunnel:
     autossh -M 20000 -f -N -L 2222:remotehostatwork:22 serveratwork

2) Add this in .ssh/config

    Host remotehosttunnel
    HostName localhost
    Port 2222

3) Assuming you have xpra running on display :100 on remotehostatwork, you
can run:

    xpra attach ssh:remotehosttunnel:100

This has been working well for me.

Hope that helps,
fhs




On Wed, Mar 5, 2014 at 11:58 AM, Wenceslao González-Viñas <[email protected]>wrote:

> Dear all,
>
> First my apologies if this question is answered elsewhere .. I'd like to
> do an xpra ssh:remotehostatwork:port but the problem is that
> remotehostatwork is not available directly. The only possibility is go
> through the serveratwork. Usually I do ssh serveratwork and there ssh
> remotehostatwork .... but I need to to the same with xpra ... (xpra is not
> installed at serveratwork, BTW)
>
> Thank you all for your help.
>
> Best,
>
> W
> _______________________________________________
> shifter-users mailing list
> [email protected]
> http://lists.devloop.org.uk/mailman/listinfo/shifter-users
>
_______________________________________________
shifter-users mailing list
[email protected]
http://lists.devloop.org.uk/mailman/listinfo/shifter-users

Reply via email to