[ec2-beta] Installing free NX on ubuntu server

Eric Hammond ehammond at thinksome.com
Sat Apr 11 08:05:02 BST 2009


The official Ubuntu beta images for EC2 disable password authentication
in ssh for improved security.

To use password authentication, you would need to enable it on the EC2
instance using something like:

  sudo perl -pi -e 's/(PasswordAuthentication) no/$1 yes/' \
  sudo /etc/init.d/ssh reload

If this doesn't fix the problem, you'll need to do more debugging,
perhaps by trying to ssh -v in as the user you created and watching:

  tail -f /var/log/auth.log

Make sure you use very secure passwords using something like:

  sudo apt-get install -y pwgen
  pwgen -s 16 1

I'd love to hear if anybody has figured out how to use NX with ssh
certificates instead of passwords (nxssh -i KEYPAIR.pem ...?).

Eric Hammond
ehammond at thinksome.com

Alon Girmonsky wrote:
> BTW,
> the problem I'm having is that I follow the installation instructions
> and everything works well. I add a user by using the command:
> sudo adduser
> I try to use the NX client to access. Everything goes well up to a point
> where the NX returns an answer: Authentication failed for user XXX
> On Wed, Apr 8, 2009 at 10:39 AM, Alon Girmonsky <alongir at gmail.com
> <mailto:alongir at gmail.com>> wrote:
>     I am having a problem installing nomachine server on Ubuntu server.
>     Specifically ami-5e173f2a.
>     I don't need a full desktop on the server. I need to be able to open
>     specific applications remotely. For that purpose I am using the NX
>     free addition. Does this make sense to you?
>     In this case would it make sense to use the desktop version of
>     Ubuntu. Again, I do no need a full desktop only to run a remote
>     application (I.E xterm)
>     Thanks,
>     Alon.

More information about the Ec2-beta mailing list