Monday, February 15, 2010

How to change port for NX

Sometimes you want your SSH daemon to run on a non-default (22) port, and this would affect your NX server as well, as it's based its service on SSH. So besides making the change in SSH, here's the places you need to modify for NX:
  • /etc/nxserver/node.conf
    change SSHDPort to your custom sshd port
    This file is /usr/NX/etc/node.cfg for NX Free Edition (non OSS version)
  • (this seems to only apply to non-OSS version)/usr/NX/etc/server.cfg
    change SSHDPort and SSHDAuthPort to your custom sshd port

No comments:

Post a Comment