Setting a user password for VNC
In the section after this one we’ll connect to our instance using the web-based
vnc-console cannot use keypairs, so Nectar only provides the
vnc-console in the secure trusted location of the Nectar dashboard. That location is secure enough to access your instance using a password.
Nectar preconfigured images, such as the Ubuntu image we used to launch our instance, do not have a password preconfigured on the default user account. So we need to set one ourselves. We’ll use our
sudo privileges to change the password on the ubuntu account as below.
$ sudo passwd ubuntu Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully
We do have some advice on passwords.
Password authentication and
ssh don’t mix well these days on the Internet. Automated entry attempts on well-known user accounts with well-known or stolen passwords occur continuously. Virtual machines based on Nectar official images are preconfigured to disable
ssh password authentication to prevent this type of unauthorised access. You should not change this.
ssh password authentication disabled
For more practical security guidelines and see the security administration checklist in the Nectar knowledge base
With a password in place on our
ubuntu account we’re ready to use the Nectar web-based