EN SSH connection - titandc/titan-sc-documentation GitHub Wiki

Preface

When creating or re-initializing a machine, it is possible either to use an SSH key or to use a password (entering both is also possible).

During the machine creation process, a non-root user will be created. The name of this non-root user can be found on the server page on the SmallCloud interface. It is available next to the IP information of the server or by clicking on the "More information" button in the "SSH" field.

SSH key

When an SSH key is used, it is added to the root user and to the non-root user.

You can either log in as root directly, or with the non-root user created during the machine creation process and change to root afterwards.

ssh root@<IP>
# Or
ssh <NON-ROOT-USER>@<IP>

Password

When a password is used, the password will be applied to the root user and the non-root user.

By default, logging in as root using a password is not allowed. It is mandatory to go through the non-root user created during the creation process and then to log in as root.

ssh <NON-ROOT-USER>@<IP>
# Then
su - # The password is the same as the one used to log in with the non-root user