[winswitch] different ssh server port

Antoine Martin antoine at nagafix.co.uk
Wed Jul 17 08:27:28 BST 2013


On 17/07/13 13:26, Roberto Hashioka wrote:
> Ohh sorry for the wrong e-mail again. Ok. How is the command to use the
> putty's plink?
Apparently, the same:
http://linux.die.net/man/1/plink

You may also be able to use the USERNAME@ syntax, ie:
xpra --ssh="plink -P PORT" ssh:USERNAME at HOST:DISPLAYNO

Antoine

>
>
> On Tue, Jul 16, 2013 at 11:19 PM, Antoine Martin <antoine at nagafix.co.uk>wrote:
>
>>  Please always CC the list. Do not email me directly.
>>
>> On 17/07/13 13:09, Roberto Hashioka wrote:
>>
>> Hi Antoine,
>>
>>  The user exists and the connection is up! I'm able to connect from my
>> Mac OS X, but from windows I get that error:
>>
>>  C:\Program Files (x86)\Xpra>ping 192.168.56.102
>>
>>  Pinging 192.168.56.102 with 32 bytes of data:
>> Reply from 192.168.56.102: bytes=32 time<1ms TTL=64
>> Reply from 192.168.56.102: bytes=32 time<1ms TTL=64
>>
>>  Ping statistics for 192.168.56.102:
>>     Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
>> Approximate round trip times in milli-seconds:
>>     Minimum = 0ms, Maximum = 0ms, Average = 0ms
>> Control-C
>> ^C
>> C:\Program Files (x86)\Xpra>Xpra_cmd.exe --ssh="ssh -p 49154"
>> --enable-sharing a
>> ttach ssh:docker at 192.168.56.102:10
>> xpra client version 0.9.7
>> connection failed: Error running ssh program '['ssh', '-p', '49154', '-l',
>> 'dock
>> er', '-T', '192.168.56.102', '.xpra/run-xpra', '_proxy', ':10']': [Error
>> 2] The
>> system cannot find the file specified
>>
>>  C:\Program Files (x86)\Xpra>
>>
>> If you are connecting from windows, then "ssh.exe" won't exist unless you
>> have cygwin installed and on your PATH, you have to use putty's plink.exe
>> (which is bundled in the installer).
>> The exact command line for plink may well be different too.
>>
>> Antoine
>>
>>
>>
>>
>>
>> On Tue, Jul 16, 2013 at 7:54 PM, Antoine Martin <antoine at nagafix.co.uk>wrote:
>>
>>>  On 17/07/13 03:14, Roberto Hashioka wrote:
>>>
>>> Hi Antoine,
>>>
>>>  Thanks, for your help! Now it's working on Linux and on Mac. But on
>>> windows I'm getting this message error:
>>>  C:\Program Files (x86)\Xpra>Xpra_cmd.exe --ssh="ssh -p 49154"
>>> --enable-sharing attach ssh:docker at 192.168.56.102:10
>>> xpra client version 0.9.7
>>> connection failed: Error running ssh program '['ssh', '-p', '49154',
>>> '-l', 'docker', '-T', '192.168.56.102', '.xpra/run-xpra', '_proxy',
>>> ':10']': [Error 2] The system cannot find the file specified
>>>
>>>  What am I doing wrong?
>>>
>>> Your user "docker" does not have an xpra server running.
>>> To verify:
>>> * login via ssh: ssh -p 49154 -l docker 192.168.56.102
>>> * look for the session: xpra list
>>>
>>> I've added this error to the FAQ:
>>> http://xpra.org/trac/wiki/FAQ
>>>
>>>
>>> Antoine
>>>
>>>
>>>
>>>  Thanks,
>>> Roberto
>>>
>>>
>>> On Tue, Jul 16, 2013 at 1:49 AM, Antoine Martin <antoine at nagafix.co.uk>wrote:
>>>
>>>>  On 16/07/13 15:41, Roberto Hashioka wrote:
>>>>
>>>> Hi Antoine,
>>>>
>>>>  I have downloaded the Xpra.app for Mac. I didn't know that app.
>>>> However, I need to access the host via ssh and the port is not 22. It's
>>>> 49153. How can I change it from the Xpra.app interface!?
>>>>
>>>>  You cannot, but you can do it from the command line (see "ssh" switch),
>>>> for details:
>>>> man xpra (on *nix)
>>>> or
>>>> ./Xpra.app/Contents/Helpers/Xpra -h
>>>>
>>>> So, in your case:
>>>> xpra --ssh="ssh -p 49153" ...
>>>>
>>>> Antoine
>>>>
>>>>
>>>>
>>>>  Thanks,
>>>> Roberto
>>>>
>>>>
>>>> On Tue, Jul 16, 2013 at 1:15 AM, Antoine Martin <antoine at nagafix.co.uk>wrote:
>>>>
>>>>>>  6174 ?        S      0:02 /usr/bin/python /usr/bin/xpra start :0
>>>>>> --enable-sharing
>>>>>>
>>>>>  You should not be using such a low display number (":0") as this leads
>>>>> to confusion.
>>>>> (the server should have warned you about this - see the log file)
>>>>>> I'm using ssh forwarding to pipe the connection, because the xpra
>>>>>> installation for mac is very complicated!
>>>>>  How is the installation complicated? (hint: there is no installation
>>>>> required: the DMG contains everything you need to run xpra)
>>>>>
>>>>>> From Mac (ssh forwarding):
>>>>> I guess that what you are saying is that you first "ssh -X" (or "ssh
>>>>> -Y") to the server before launching xpra.
>>>>> Don't do that. Running xpra over ssh X11 forwarding will add more
>>>>> problems than it is worth.
>>>>>> docker at 9b5c0b4b7e54:~$ /usr/bin/xpra --version
>>>>> You forgot "--enable-sharing" on both your clients.
>>>>>
>>>>> Antoine
>>>>>
>>>>
>>>>
>>>
>>
> _______________________________________________
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
> http://lists.devloop.org.uk/mailman/listinfo/shifter-users




More information about the shifter-users mailing list