1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Connect via SSH (First VPS Cloud / VPS Lite Linux Connection)
This guide explains how to establish the first SSH connection on your Cloud VPS / Lite VPS.
Run a command with root privileges...
From a terminal application (command-line interface, CLI / Command Line Interface
) on your device, for example the application PuTTY (to download and install on Windows) or Terminal (installed by default on macOS), run sudo -i
to load the full root environment, giving you a complete interactive session as root with the personal directory and root environment variables.
... on macOS or Linux
To connect, you must open a Terminal window and run the following command:
ssh -i [key path] [user]@[server]
[key path]
= link to the file containing the private key; as a reminder, when ordering your Cloud VPS / Lite VPS, you were invited to generate a key pair or upload your own public key (permissions must be sufficient, 0700 for example)[user]
= see below for default usernames[server]
= server's IPv4 address (indicated on the Manager)
Example: ssh -i c:/path/key ubuntu@192.168.1.1
If you encounter the error "WARNING: UNPROTECTED PRIVATE KEY FILE!", run the command chmod 400 [key path]
.
... on Windows
Windows does not allow SSH connections natively: enable the Bash shell (Windows 10 minimum) or download the following two free software: PuTTY & PuTTYgen
To begin, your private key must be converted to be used with PuTTY.
To do this, open PuTTYgen and click the "Load
" button to load your private key. Then save your private key using the "Save private key
" button.
Now open PuTTY and provide the following elements:
Under Session
(in the left sidebar):
'
[HostName]
= server IPv4 address (indicated on the Manager)
'
[Port]
= leave the default port, i.e. 22
'
[Connection type]
= specify here βSSHβ
''
Under Connection / SSH / Auth
(in the left sidebar):
'
- open your private key generated via PuTTYgen using the β
Browse
β button under βPrivate key file for authentication
β - click the β
Open
β button at the bottom of the window, a terminal will open and ask for your username (user
= see below)
Default username [user] for unmanaged Cloud servers with:
Linux distributions table
Linux distribution | Default user |
---|---|
AlmaLinux | almalinux |
Arch Linux | arch |
CentOS | cloud-user |
Debian 7 βWheezyβ and earlier versions | root |
Debian 8 βJessieβ and later versions | debian |
Fedora | fedora |
FreeBSD | freebsd |
Ubuntu | ubuntu |
OpenBSD | openbsd |
openSUSE Leap 15 | opensuse |
openSUSE 42 | root |
RancherOS | rancher |
SUSE Linux Enterprise Server | root |
The user is always the default user of the distribution.