Using SSH to connect to your instance
In order to access a running Nectar instance using SSH and a terminal, there are four pieces of information that you need to know:
There are default usernames set for Nectar Official images, listed in the image catalog
- IP address
Obtained from the Instances tab on the Nectar Cloud Dashboard
- Private key
Know the path to the Nectar private key file on your computer
You are accessing the instance via SSH protocol, using port 22
If you have problems accessing your instance using the instructions on this page, please read the article on troubleshooting SSH access.
There is also a step by step tutorial avaiable for accesssing your instance using SSH. Please visit Nectar Tutorial website.
Instructions for Linux, MacOS and Windows WSL/MobaXTerm users
Instructions for Windows+Putty users
Setting Up Your Virtual Machine
There some commands you should enter the first time you access your virtual machine.
- Set up a password
sudo passwd ubuntu(replace "ubuntu" with your instance default username or your username as appropriate)
- Enter a password
- Make the secondary ephemeral disk writeable
If you have an m1 flavor or a m2.large/m2.xlarge
- The ephemeral drive is mounted at "/mnt" but you will not automatically have permission to write to it.
sudo chown ubuntu:ubuntu /mnt(replace "ubuntu:ubuntu" with your instance default username:usergroup or your username:usergroup 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 desktop on your instance, the remote desktop will appear in the console instead of the command-line console.