Knowledge Base
Searching in : Trouble report
ID:TR01T10438
Added on: 2022-01-20
Last Update: 2025-05-22
Solved in version: 9.0.188
Platform: All Windows Platforms
Product: NoMachine Server
Severity: Minor
Status: Solved
Print this article

'Authentication failed' occurs when connecting from Windows by using ECDSA and Ed25519 and SSH protocol

The version of the built-in SSH client on Windows, nxssh, doesn't recognize ECDSA or Ed25519 keys  (it needs to be updated). Users therefore get 'Authentication failed' when trying to connect by SSH protocol from Windows and try to forward any of these keys.
 
As a workaround, make the ECDSA in PEM format, e.g.:
ssh-keygen -t ecdsa -b 521 -m PEM -f key_ecdsa
 
 
Otherwise to connect to the remote host and run the session, use the NX protocol instead. Otherwise, to use the SSH protocol, uncheck the 'Forward authentication' option in the UI. In both cases, however, the key will be not  forwarded.

SOLVED, Released in version 9.0.188