

- #Nx nomachine nx publickey authentication fail install#
- #Nx nomachine nx publickey authentication fail password#
#Nx nomachine nx publickey authentication fail install#
Install the client on your local machine.

Check if your user will work: sudo /usr/NX/bin/nxserver -usercheck ''youruser''.Restart services sudo /etc/init.d/ssh restart.It may be necessary to remove a line in SSH's your known host file for your user on the server, or remove it all together(reset it): sudo rm /home/$USER/.ssh/known_hosts.If you have restricted SSH with AllowUsers you need to add nx to the list: We can do this by editing SSH configuration: sudo vi /etc/ssh/sshd_config
#Nx nomachine nx publickey authentication fail password#
You might need to enable password login into SSH.Sudo mv /usr/NX/home/nx/.ssh/authorized_keys2 /usr/NX/home/nx/.ssh/authorized_keys -Īdditional Potential Steps for Consideration Sudo chmod 0644 /usr/NX/home/nx/.ssh/authorized_keys2 With the default Ubuntu SSH setting this is not neccessary, but someone might have changed it to e.g.: authorized_keys Sudo cp /usr/NX/home/nx/.ssh/authorized_keys2.tmp /usr/NX/home/nx/.ssh/authorized_keys2Ĭheck that the name conforms to the filename given in the /etc/ssh/sshd_config file.

Sudo rm /usr/NX/home/nx/.ssh/authorized_keys2 Sudo cp /usr/NX/home/nx/.ssh/authorized_keys2 /usr/NX/home/nx/.ssh/authorized_keys2.tmp Amazon ec2, then NX's hard link between authorized_keys2 and the default.id_dsa.key will create problems when bundling AMIs.
