How can I access my instances with SSH?

In order to access your instances with SSH, you first have to tell Scalarium to provide every instance with a SSH key.

You can either define a default SSH key on the cluster or specify on when you add an instance.

cluster_ssh.png

This SSH key will be distributed to the instance and put in /home/ubuntu/.ssh/authorized_key, so the ubuntu user can login using this key. Password based authentication is disabled by default.

If you created the key using Scalarium, you can also SSH into the instance using a Java applet on the instance view.

instance_box_ssh.png

If you want to use your native command line, just download the SSH key on from it's asset page.

download_ssh_key.png

Once downloaded, put it in your ssh directory, e.g. ~/.ssh/id_scalarium_key and make sure the permissions are 0600. Then login using this key and the ubuntu user:

$ ssh -i ~/.ssh/id_scalarium_key ubuntu@INSTANCE-DNS

If you need root access, just sudo to root:

sudo su -