Xpra: Ticket #1924: version 2.4-20180721r19945M-1 no longer uses .ssh/config on Ubuntu Linux 17.10

I have a SSH alias "foo" in .ssh/config, which is actually bar.example.com. this works in anything that uses ssh and also used to work in xpra, up to and including previous version (r19937); now it doesn't work in current xpra version (r19945).

What I did:

xpra attach ssh:foo

What I expected to happen (as seen in previous versions since forever):

Xpra gtk2 client version 2.4-r19937 64-bit
running on Linux Ubuntu 17.10 artful
(...)
Host key fingerprint is SHA256:0deadbeef0
Xpra X11 server version 1.0.1

What happened instead:

Xpra gtk2 client version 2.4-r19945 64-bit
running on Linux Ubuntu 17.10 artful
ssh: Could not resolve hostname foo: Name or service not known
Error: failed to receive anything, not an xpra server?

Relevant ~/.ssh/config section:

Host foo
HostName bar.example.com
Port 12345
User baz

Other tools using ssh are working correctly, previous version works. New version fails to use the SSH config, tries to resolve "foo" as a DNS name (which doesn't work, as the host is not reachable under that name from anywhere).



Mon, 30 Jul 2018 16:10:31 GMT - Antoine Martin: status, description changed; resolution, milestone set

This is working as expected, the new native ssh implementation (#1646) knows nothing about openssh's configuration files. If you want to revert to executing openssh as transport, use:

xpra attach --ssh="ssh -x" ssh:foo

Xpra X11 server version 1.0.1

Yikes! 1.0.1!


Tue, 31 Jul 2018 12:01:17 GMT - Piskvor:

Excellent, thank you for the explanation and workaround.

(Yeah, one works with the servers one has, rather than the ones one would like to have)


Sat, 13 Oct 2018 06:42:51 GMT - Antoine Martin:

Loading .ssh/config will be supported soon: #1937


Sat, 23 Jan 2021 05:37:26 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1924