Error message Server not installed or NX access disabled
If you see the following error message it means that the nx user's public key was not accepted.:
NX> 203 NXSSH running with pid: 6721 NX> 285 Enabling check on switch command NX> 285 Enabling skip of SSH config files NX> 200 Connected to address: 192.168.2.21 on port: 22 NX> 202 Authenticating user: nx NX> 208 Using auth method: publickey NX> 204 Authentication failed.
This can be caused by a couple of things.
nxserver –stop
command renames the .ssh/authorized_keys2 to .ssh/authorized_keys2.disabled to prevent access via an nxclientPubkeyAuthentication yes
in the sshd_config filenx
/var/log/messages
file for lines like these:Feb 25 23:15:48 teepee last message repeated 2 times Feb 25 23:18:17 teepee sshd[11597]: User nx not allowed because account is locked Feb 25 23:18:17 teepee sshd[11597]: Failed none for invalid user nx from 192.168.0.111 port 49337 ssh2 Feb 25 23:18:19 teepee sshd[11597]: Failed password for invalid user nx from 192.168.0.111 port 49337 ssh2
passwd -S nx
passwd -u nx
passwd: unlocking the password would result in a passwordless account. You should set a password with usermod -p to unlock the password of this account.
then you can assign a random password (it will never be used) to user “nx
” using this command:
usermod -p <randompassword> nx
and then unlock the account.