[FreeNX-kNX] FC5 & "nx key"

Henrik Schmiediche henrik at stat.tamu.edu
Tue Sep 26 15:29:20 UTC 2006


 

       Hello,

to make the standard nomachine key work you add the nomachine private key: 

 

no-port-forwarding,no-X11-forwarding,no-agent-forwarding,command="$PATH_BIN/
nxserver" ssh-dss
AAAAB3NzaC1kc3MAAACBAJe/0DNBePG9dYLWq7cJ0SqyRf1iiZN/IbzrmBvgPTZnBa5FT/0Lcj39
sRYt1paAlhchwUmwwIiSZaON5JnJOZ6jKkjWIuJ9MdTGfdvtY1aLwDMpxUVoGwEaKWOyin02IPWY
SkDQb6cceuG9NfPulS9iuytdx0zIzqvGqfvudtufAAAAFQCwosRXR2QA8OSgFWSO6+kGrRJKiwAA
AIEAjgvVNAYWSrnFD+cghyJbyx60AAjKtxZ0r/Pn9k94Qt2rvQoMnGgt/zU0v/y4hzg+g3JNEmO1
PdHh/wDPVOxlZ6Hb5F4IQnENaAZ9uTZiFGqhBO1c8Wwjiq/MFZy3jZaidarLJvVs8EeT4mZcWxwm
7nIVD4lRU2wQ2lj4aTPcepMAAACANlgcCuA4wrC+3Cic9CFkqiwO/Rn1vk8dvGuEQqFJ6f6LVfPf
RTfaQU7TGVLk2CzY4dasrwxJ1f6FsT8DHTNGnxELPKRuLstGrFY/PR7KeafeFZDf+fJ3mbX5nxrl
d3wi5titTnX+8s4IKv29HJguPvOK/SI7cjzA+SqNfD7qEo8= root at nettuno

 

(the above is one line). To the authorized_key2 file in the users 'nx' home
directory:

 

/var/lib/nxserver/home/.ssh/authorized_keys2 

 

You do not need to change the 'root at nettuno' to match your system. 

 

You do realize that blindly adding something like the above key to a user's
authorized_key2 file is a great way to compromise your system to a remote
user? You can pull the key from the /usr/bin/nxsetup file (examine the
code), however, do not run nxsetup.

 

Sincerely,

 

   - Henrik

 

 

 

________________________________________

From: Jim Kusznir [mailto:jkusznir at gmail.com] 

Sent: Sunday, September 24, 2006 9:47 PM

To: freenx-knx at kde.org

Subject: [FreeNX-kNX] FC5 & "nx key"

 

Hi all:

 

I have FreeNX (server) installed on (currently) 3 different machines: 1
Gentoo, 1 RHEL4, and 1 FC5.  The machines are owned by different entities.


More information about the FreeNX-kNX mailing list