Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-10-2014, 10:42 PM   #1
LQ Newbie
Registered: Mar 2014
Posts: 1

Rep: Reputation: Disabled
New user having trouble with FreeNX/NoMachine/SSH authentication

Hi! I've finally decided I've spent enough time Googling, and enough times running "ssh-keygen -t -dsa" to admit that I don't know what I'm doing.

I have a new VPS server running Ubuntu, mostly because I think I got a good deal on it and that I'd enjoy messing around with it as a learning tool.

At the moment, I am able to connect to it fine using VNC, but I'm trying to get FreeNX to work, using a NoMachine Windows client, since I understand it may have better performance than VNC.

To authenticate, NoMachine first asks for a Private key file. I was able to create this on the server, copy the file to the Windows machine, and successfully authenticate it, yes! But then on the next screen, it asks me for my username and "optional public key passphrase." This is where I'm stuck.

Google pointed to me to that "ssh-keygen -t -dsa" command, which I've run more than a few times, creating passphrases, but the NoMachine client won't accept them. "Cannot accept public key" it tells me. I can find the file easily, but don't know what to do with it. Do I move it to the Windows client like I did the FreeNX Private Key?

I feel stuck here. I *think* it should be as easy as running that ssh-keygen command, creating a public passkey, and entering it into the NoMachine Windows client, but it won't take.

Any advice on what I should be doing?

Old 03-10-2014, 10:55 PM   #2
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288

the passphrase that it wants is the one your entered when you generated the private key. From what you wrote I suspect you didn't use a passphrase.

Running ssh-keygen will create a new private and public key pair that you can optionally protect with a passphrase. However, you already have a key pair, since you said you copied a private key from the vps.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Freenx / nomachine smoooth103 Slackware 2 01-10-2010 10:09 PM
FreeNX and NoMachine problem jspk Linux - Software 0 04-23-2008 10:24 PM
trouble with alien's slackbuild for freenx: cannot stat freenx/build/nomachine.id_dsa BCarey Slackware 2 03-12-2008 10:00 PM
freenx and NoMachine client authentication camorri Linux - Software 1 06-02-2006 02:33 AM
Nomachine/freenx server netcrusher88 Debian 1 12-14-2005 03:53 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration