Using SSH protocol to connect to your instance

In order to access a running Nectar instance, there are four pieces of information that you need to know:

  1. Username - There are default usernames set for Nectar Official images, listed in the image catalog
  2. IP address - Obtained from the Instances tab on the Nectar Dashboard
  3. Private Key - Know the path to the Nectar private key file on your computer
  4. SSH - You are accessing the instance via SSH protocol, using port 22 


If you have issues accessing your instance using the instructions on this page, please read the article on troubleshooting SSH access.


Instructions for Windows users

Instructions for MacOS users 

(generally applicable to Linux distributions also)

Setting Up Your Virtual Machine

There some commands you should enter the first time you access your virtual machine.

  1. Set up a password
    • sudo passwd ubuntu    (replace "ubuntu" with your username as appropriate)
    • Enter a password
  2. Make the secondary ephemeral disc writeable - If you have an m1 flavor or a m2.large / m2.xlarge
    • The ephemeral drive is mounted at "/mnt" but you will not have permission to write to it.
    • sudo chown ubuntu /mnt   (replace "ubuntu" with your username as appropriate)

Console Access through the Web Browser

After you have set up a password for your user account on the virtual machine (see instructions above), you can access the instance via the Nectar Dashboard in your web browser. This is useful in situations where you need to access the instance form a computer that does not have your private key stored on it, for example.

Note: If you have set up remote destop on your instance, the remote desktop will appear int he console instead of the command-line console.