xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Changes between Initial Version and Version 1 of SSH

07/22/18 09:25:42 (3 years ago)
Antoine Martin



  • SSH

    v1 v1  
     2= SSH Connections =
     6This transport is supported by all python clients and Posix servers. (see #1920 for generic SSH server support feature)
     8See also [/wiki/Network].
     12{{{#!div class="box"
     13== Server Setup ==
     14This type of transport does not usually require any specific {{{bind}}} command line option.
     16With a default configuration, starting a server will create unix domain sockets. Those sockets can be seen with {{{xpra list}}}.
     18When connecting over SSH, the client will execute a proxy command to relay to one of these sockets, forwarding it as a pipe over the network back to the client.
     21{{{#!div class="box"
     22== Client ==
     24Starting with version 2.4, there are now 2 backends which can be used for SSH transport. Older versions only support the ''openssh'' mode. In ''auto'' mode, ''paramiko'' will be used if installed.
     26The backend can be selected using the {{{--ssh=}}} switch. (ie: {{{--ssh=paramiko}}})
     30=== OpenSSH ===
     31This mechanism relies on [https://www.openssh.com/ openssh] on Posix systems, optionally using [https://sourceforge.net/projects/sshpass/ sshpass] to supply passwords via the command line or connection files.
     33On MS Windows, the installer will bundle the [https://tortoisesvn.net/ tortoisesvn] version of [https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html putty plink] which includes a GUI for host key confirmation and password input.
     35Since this mechanism relies on executing the ssh client program, you can use the same command line options as you normally would and / or use the openssh configuration files for using tunnels, restricting ciphers, etc.
     36ie: {{{--ssh="ssh -x -c blowfish-cbc"}}}
     38The {{{--exit-ssh}}} switch controls whether the SSH transport is killed when the client terminates, this can be useful if openssh is setup to use connection sharing. (see #203 or details)
     45=== Paramiko ===
     47This backend is built into the client connection code and provides better diagnostics (using the {{{--debug=ssh}}} switch), and it provides a GUI for confirming host keys, entering key passphrases or passwords.
     48The downside is that since it does not use openssh at all, it does not have the same flexibility and may require re-confirmation of known hosts.