Now, just below this commented-out line indicating the default setting: #AcceptedAuthenticationMethods allĪdd this line to change the setting to allow ONLY key-based authentication: AcceptedAuthenticationMethods NX-private-key # client authentication for connections by NX protocol. # See also the EnableNXClientAuthentication key for enabling SSL # This key has to be used in conjunction with ClientConnectionMethod. # AcceptedAuthenticationMethods NX-private-key,SSH-system # have to be set on the system for example in the
# SSH authentication methods for the system login # SSH-system : All methods supported for the system login. # Supported method for connections by SSH protocol is: # NX-kerberos : Kerberos ticket-based authentication. # NX-private-key: Key-based authentication. # Supported methods for connections by NX protocol are: To specify a subset of methods use a comma-separated # default all the available methods are supported. # Specify how clients will have to authenticate to the server, by On the server, edit server.cfg ( sudo gedit /usr/NX/etc/server.cfg) and find this section: # Note: On Linux, server.cfg is located here: "/usr/NX/etc/server.cfg". The server.cfg and node.cfg files explained (for server v.