NX connection issue

hi guys got an issue connecting to my ubuntu vps using NXno machine seams im getting a time out error, I can confirm the server is running.

Here is the error message:

NX> 203 NXSSH running with PID: 1285
NX>285 Enabling checkon switch command
NX> 285 Enabling skip of SSH config files
NX>Setting the preferred NX options
ssh: connect to host makcast.com port 22: connection timed out

Any help would be appreaciatd.

Cheers makin

I can confirm that i can login to a SSH session via terminal on to the server.

I take it port 22 is open on the server, and that NX server is listening for SSH on port 22 ?

and you’ve removed the # from this line in /usr/NX/etc/server.cfg

SSHDPort = “22”

There’s a good NX setup tutorial here:

Seems that the hash had not been removed. Weired ive been using this for months. Perhaps when server got moved over to the Vps some thing was changed.

After removing the “#” still got the same error. I’ll take a look at the link you provided see if that can shed any light.

Can confirm after checking if the server was running using:

cd /usr/NX/bin
sudo ./nxserver --status

That the out put was as follows:

NX> 900 connection to server …
NX> 110 NX server is running.
NX> 999 Bye.

I can confirm my user account is already in the NX user DB.

$ sudo ./nxserver --useradd makin --administrator
NX> 801 User: makin uses SSHD authentication.
NX> 306 Administrator: makin added in the NX administrator DB
NX> 900 Adding public key for user: makin to the authorized keys file.
NX> 900 Verifying public key authentication for NX user: makin.
NX> 900 Public key authentication succeeded.
NX> 313 User: makin is already in the NX user DB.
NX> 999 Bye.

Cheers for the heads up.

Seems the ports had been closed when the os was moved from server to vps. all fixed.

Glad to hear it :slight_smile: … that it’s fixed I mean :slight_smile: