xpra icon
Bug tracker and wiki

Opened 2 weeks ago

Closed 2 weeks ago

#2020 closed defect (duplicate)

"paramiko" support silently ignores ssh config

Reported by: reimar Owned by: Antoine Martin
Priority: major Milestone: 2.5
Component: client Version: 2.4.x
Keywords: Cc:

Description (last modified by Antoine Martin)

xpra started failing for me with this error:

xpra initialization error:
 cannot get IPv4 address of ('wpc', 22): [Errno -2] Name or service not known

This seems due to using "paramiko" instead of actual ssh, which means any ssh configuration is suddenly silently ignored (in this case, a host alias to go via a proxy).
There should at least be a warning that ssh is not used and thus any settings in .ssh/config are ignored, and also a hint on how to get the old behaviour back.
Even better would be some kind of automatic fallback on connection issues.

As there might also be more subtle failures (like suddenly not using a privacy-protecting VPN) I would however suggest to reconsider the change in default ssh client in general, until either paramiko can parse .ssh/config or at least there are some basic checks on .ssh/config not containing anything critical. Or until a major version bump...

Change History (1)

comment:1 Changed 2 weeks ago by Antoine Martin

Description: modified (diff)
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.