Accessing your Server




You can access your server either through the web based console, or via an SSH client.

Note: 

Before SSH access is granted, you must ensure that you have a firewall-rule enabling SSH access to your server.

To do this, you must have a rule associated to your public IP address that maps to your server’s internal IP address on port 22.

Once this port has been mapped to your external IP address, you may connect to the server via an SSH client.

Web based console:

Servers can be accessed by using the Web Console via the CloudAfrica dashboard by clicking the icon, which can be found next to the appropriate server name.

Note that the Web Console does not rely on enabling a firewall rule.

SSH Client:

SSH clients differ depending which operating systems upon you use.

If you are creating an SSH Key via a Microsoft Windows Operating Systems please use puttygen.exe

For Linux/Unix systems please use the existing SSH client

There are other clients available to you, and these are outside of the scope of this document.

Though you will be able to log in with a password, CloudAfrica strongly suggests that you generate an SSH key-pair and use SSH-login. Users’ instructions on how to do this can be found here: SSH Keys

Examples(using SSH Keys):

  1. Connecting to an Ubuntu server via a Linux/Unix/MacOS:
    ssh -i /path/to/private_ssh_key ubuntu@{server_ip_address}

  2. Connecting to other/Linux/Unix server via a Linux/Unix/MacOS:
    ssh -i /path/to/private_ssh_key root@{server_ip_address}

More examples:

The following examples will assume you are using a non-Ubuntu Linux server and you are connecting from a Linux client.

Connect with SSH Key at unique port number:

If you have configured your SSH to use a unique port, your SSH-login will look something like:

ssh -p {unique_port_number} -i /path/to/private_ssh_key root@{server_ip_address}

Connect with SSH Key at unique port number and non-root user:

Disabling root-login is a recommended security-practice for any production-servers users intend on running. Login will look like:

ssh -p {unique_port_number} -i /path/to/private_ssh_key {unique_username}@{server_ip_address}