In this tutorial we will cover the steps needed to establish an SSH connection to your container.

Requirements

  • CentOS 6.4, Debian, Ubuntu or other Linux release installed on your computer.
  • SSH client and SSH access (command line access to the server).
  • root privileges.

Most Linux distributions include Terminal in their system tools.

Instructions

Kyup provides two SSH Authentication methods to connect to your container:

1) Password authentication

2) SSH key authentication

The password authentication method is the simpler because it requires only a username and its corresponding password.

SSH key authentication is considered to be more secure because the account can be accessed only from a computer where the SSH private encrypted key is loaded.

If you are interested how to log in using the SSH key authentication method, please refer to the Set SSH Keys tutorial.

Login procedure

First you need to know your container's IP address. You can find it from your Kyup User Area.

Next open the SSH terminal on your local computer and type the following command:

where container_IP_address is the IP of your container.

Hit Enter. If this is your first time connecting to the server from this computer, you will see the following output:

You can accept the connection by typing "yes."

After that you’ll be prompted for a password. The password is case-sensitive. Once you have entered your password, hit Enter again.

If you’ve logged in successfully, you’ll see something like this:

You can start typing commands at the shell prompt.