Context, NoMachine windows -> NoMachine on Linux via SSH
Authentication on the Linux side uses a) SSH keys (with password), b) Google authenticator and c) Unix password
The first issue is that when using ssh, it prompts for the ssh key passphrase even when puttyagent is being used to provide the key. This is confusing, as when puttyagent does provide the key, the passphrase is actually used to answer the google authenticator prompt. This is very confusing to users.
The second issue is that after passing the google authenticator prompt, it says authorization failed since the final unix password prompt is generated. The SSH handler should be aware of the different prompts for different purposes and generate a challenge to the user that provides proper context. Now, even though it says it failed, if they provide the Unix password, it does finally authenticate, but the prompts are extremely confusing.
I know that the preferred protocol is to use NX, but for our customers who’s data we are supporting, we want to be able to say that the ONLY protocol that is exposed for the server in question to the outside world is SSH. Is there any expected improvement in the handling of the ssh prompts to make them more context aware?