Append your SSH public key at the end of the authorized.crt file.Ĭopy the public key to the server host. On Windows permissions should be set to 0644.ģ. Create this file if it doesn't exist and set the appropriate permissions.Ĭhmod 0600 $HOME/.nx/config/authorized.crt If the config directory already exists, it should contain the authorized.crt file. On Windows, create that (C:\Users\username\.nx\config) by using the system tools.Ģ. Navigate to the /.nx/config directory.Ĭreate this directory if it doesn't exist. Then go to Conversions->Export OpenSSH key toġ. To do that choose the key file in the PuTTYgen main window. You need to ensure that the key-pair is in OpenSSH format or convert it. On Windows you can use for example PuTTYgen ( ). 6.9.2 and openssh version 7.8p1-1 (which introduces a new OpenSSH format) or later, specify to generate the key in the old format: Run in a terminal:įor NoMachine version older than v. On Linux and macOS you can use the ssh-keygen tool. Be sure that the keys are in OpenSSH format. ![]() If you haven't done it already, generate an SSH key pair. Key-based authentication with NX protocol is available for all the NoMachine server products, including NoMachine Free Edition. When you connect to the server you will have to insert the private key in the NoMachine User Interface (UI) of whichever client device you are using. Support for key-based authentication with the NX protocol requires the public SSH key be added on the server side, in the user's home, to grant access. ![]() Instead of requesting the user's password, the authentication relies on a SSH key-pair, consisting of a public key installed on the server host and on a private key owned by the user. Key-based authentication is an alternative to password-based authentication (default).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |