Xpra: Ticket #722: Using --password= and --password-file= causes SSH to fail to login

Tested with Win7 r7897 against a Fedora 20 r7897 server:

Connecting to the server (started with xpra start :13 --no-daemon --start-child=xterm) with xpra attach ssh:jimador@10.0.32.52 --password-file="C:\password.txt" causes the password prompt to pop up, and after entering the correct password, the server and client prints:

Protocol(SocketConnection(/home/jimador/.xpra/camarena.spikes.eng-13)): authentication error (this server does not require authentication)

Upon entering the incorrect password into the dialogue, the password dialogue pops back up asking for a password again.

I have tried all the permutations:

The only way to successfully connect with SSH is to NOT supply a password, and then enter it into the dialogue box.



Mon, 27 Oct 2014 20:49:37 GMT - Antoine Martin: status, description changed; resolution set

This is not a bug. The password-file switch (which is the only switch that should be exposed, --password isn't meant to be used), is only meant to be used for xpra's own authentication, not for SSH. SSH does its own authentication, using keys, passphrases, password prompts and whatnot.


Sat, 23 Jan 2021 05:04:02 GMT - migration script:

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