Problem: I can log in with user-name + password, but not with an SSH key.
Error: Authentication with ‘NX-private-key’ from host failed. Error is ‘Public key not recognized’
Client setup:
- Windows 10, recently installed, and recently updated.
- NoMachine free 7.0.211
- RSA private key generated with PuTTYGen and then converted with “Export SSH Key”. It starts
“—–BEGIN RSA PRIVATE KEY—–” then 25 lines Base-64 encoded data, then “—–END RSA PRIVATE KEY—–“
Server setup:
- Ubuntu 18.04 and updated.
- NoMachine free 7.0.211
- ~/nx/config/authorized_keys is as follows
ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAvTc5OoSLZ3vmnOuowHOt+oS1TZb9w4AzwD7xgcjx7cWy1LB88QugeiIIeH/G/g6FDicSbd/c71HpZlqwsDVDgCY3/H8AeIr+SagLd4Nv5qWa5TfhrQzM4clKbY9UZaxG5U9LZ8tl5ANf/bj6j0T+Jt+Mz2IV7P/1HSjzRb/pBUqqQIuikWc8B1U7NRzDDiwrximQK/ydmRLr6DvRIszUKEJmx55eVLF01blweJSiIdOcU804oy
OK, what simple configuration step have I missed?