[FreeNX-kNX] freenx ssh key question

Les Mikesell lesmikesell at gmail.com
Tue May 8 17:42:10 UTC 2012


On Tue, May 8, 2012 at 10:47 AM, Jones, David <David.Jones at savvis.com> wrote:
> Sorry for leaving out details.  That was sloppy of me.
>
> I am on CentOS 5.8 (32-bit PAE) and I followed the instructions here:
>
> http://wiki.centos.org/HowTos/FreeNX
>
> It makes no mention of "nxsetup --install"
>
> I do not mind copying the key out to clients, I was just trying to clarify if the key was global.
>
> I *think* the RPM generates a new key because the instructions say this:
>
> " In the advanced dialog window under the General Tab, you should see the items you have already entered and a Key... button. You will need to ssh into the server which you are trying to connect and go to the /etc/nxserver/ directory and open the file client.id_dsa.key (you must be the root user to open this file). Copy all the text (including the BEGIN DSA PRIVATE KEY and END DSA PRIVATE KEY lines. Press the Key... button, delete the text that is in there, and paste the client.id_dsa.key information from the server into the Key Management text box, then select Save."
>
> Which makes me think the GUI is copying the key to some version of "/var/lib/nxserver/home/.ssh/client.id_dsa.key"
> Am I off base here?
>
> To simplify things, I can just run "nxsetup --install" and force a new key to be used even after install, right?
>

Try:
rpm -q --scripts freenx |less
if you want to see what happens in the postinstall script.
It should be creating a new /etc/nxserver/client.id_dsa.key and
setting it up in the nx user's home/.ssh directory.

-- 
   Les Mikesell
    lesmikesell at gmail.com



More information about the FreeNX-kNX mailing list