1
I am running nxserver on a linux box and installed NoMachine Player on laptop. Every time I connect to nx on the linux box, basically it comes with two steps:
- SSH to user nx on the linux box
- On the linux box, the user nx login as the real user
By default, step 1 uses a default dsa key, which is not secure and step 2 is protected by password (you need to type password to login).
I want to avoid typing the password but maintain security. What I am trying to do is
- For step 1: generate new key pairs. This is done already by running nxserver --keygen on the linux box.
- For step 2: let nx uses ssh keys to login.
Currently I am stuck at step 2, which I don't know where to put the private key on nx side and how to let nx to use the private key instead of using password authentication. Anyone can give any hint? Thanks.
I'd try posting this at server fault. They might be able to help you more. – Griffin – 2013-02-20T01:41:47.653
@Griffin, I actually posted on it, but didn't get any response in quite a long time. I then read the FAQ of serverfault and looks like it is for some large scale network/server problem, so I thought it might not be the right place, then I deleted that post and posted here instead. – icando – 2013-02-20T05:28:10.513
Okay sorry I posted a comment in here that was ment for a different section. I would try posting it again on Serverfault and then on stackoverflow. – Griffin – 2013-02-21T00:50:30.437
@Griffin, I don't understand what you mean. Did you mean I should post on Serverfault and StackOverflow? – icando – 2013-02-26T00:26:47.783
If you don't get an answer from Server fault or they say it doesn't belong there. – Griffin – 2013-02-26T01:14:44.830
@Griffin, I still don't understand your logic. – icando – 2013-02-27T05:23:39.223