NX Connection Issue DSA key is corrupted or has been protected with a passphrase

Writing by on Tuesday, 30 of April , 2013 at 10:50 pm

If NX Client is not able to connect to Linux VM and comes back with the following error

DSA key is corrupted or has been protected with a passphrase

You will need to follow steps mentioned in the NX Admin Guide – Section 4.4. Replacing the Default SSH Key-Pair with Keys Generated for Your Server.

Once you follow the steps of generating new keys, you will need use (paste) the new shared key in the NX Client.

#Follow the keygen steps
$ /usr/NX/scripts/setup/nxserver –keygen
$ … … …
# Copy the Key from
$ cat /usr/NX/share/keys/default.id_dsa.key
# Paste this Key in the NX Client (Configure… General Tab -> Key…)

The problem should be resolved.

Leave a comment

Category: Linux

Shivdev Kalambi's Blog

Shivdev Kalambi is a Software Development Manager, previously a Principal Software Engineer at ArcSight/HP. With over 16 years' experience in software development, he's worked on several technologies and played different roles and contributed to all phases of projects. Non-tech activies include Ping-pong, Rock Climbing and Yoga at PG, Golf, Skiing, Swimming & a beer enthusiast.