On the server-site i installed the earlier named three RPM's, and openssh-server.
Then created a new keygen for ssh to authenticate the user:
- Code: Select all
nxserver --keygen
...and copy the key to the user/client:
The generated key is located in:
/var/lib/nxserver/nxhome/.ssh/client.id_dsa.keygen
and should be copied to the client-machine, during configuration of the client you will need to import this key into the client.
(to add a user, named username in this case, to the allowed users to connect to nxserver (should be a valid username in the system and must be able to login via ssh))
- Code: Select all
nxserver --useradd username
(to add a password to aforementioned user)
- Code: Select all
nxserver --passwd username
restart nxserver
- Code: Select all
nxserver --restart
and off you go....should be able to start a session.
If you run nxserver and a command not found is displayed you need to put /usr/NX/bin/ in your PATH.
Good luck, you are right on track. Maybe also be sure the firewall on the server-site allows SSH-traffic (port 22) coming through.