For example if you created it on Linux or macOS, you can use scp from a terminal on that computer: 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). It's also trivial to point to something on the planetarium and use the right click menus with the mouse pad and buttons.This article applies to NoMachine v. With the keyboard I have set up various hotkeys that bring up Find, EKOS, INDI, eccetera. There's a fair bit of flexibility with this combo of hardware and software. NoMachine can display a mouse pointer, and VNC on my phone can make it function as a trackpad when I need it to. To remote into the Pi I use NoMachine, but also VNC is setup and I like to use that over the WiFi. To wire this all up I have a long USB extension cable and a simple hub for these devices at my table. A simultaneous connection with a smartphone can also be used like a trackpad. Although, trackpads do get flaky when there is lots of dew, so consider a wireless mouse. I can use the tablet as a touch interface or display a mouse pointer on screen with my remoting software, it is almost as good as having a true laptop in front of you. So I added to my workstation a simple wireless keyboard with built in trackpad. That being said, I also experienced inefficiencies interfacing in this way. It also has the side advantage of sharing a mobile data connection if you need to online plate solve. But when I'm working adjacent to the mount, I have found the most reliable and low latency tablet connection to the Pi is via a USB tethered network connection. I love being able to walk away from the scope and monitor things and work from a distance over WiFi if I retreat to a warm room or visit other astronomers nearby. I operate somewhat similarly to you with a tablet interface, but also the option to use my phone.
0 Comments
Leave a Reply. |