1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
SSH connection (1st Cloud Linux VPS connection)
Run a command with root privileges
You have to type:
sudo -i
Effectively sudo -i loads root's full environment, giving you a full interactive session as root with root's home directory and environment variables. Learn more
under macOS or Linux
To connect, you need to open a Terminal window and enter the following command:
ssh -i [key path] [user]@[server]
If you receive a "WARNING: UNPROTECTED PRIVATE KEY FILE!" error, issue the following command:
chmod 400 [key path]
Meaning of indications
[ key path ] = link to the file that contains the private key. As a reminder, when ordering your VPS Cloud, you were asked to generate a key pair or to upload your own public key (the rights must be sufficient, 0700 for example).
[ user ] = read at the end of the guide
[ server ] = IPv4 address of the server (indicated on your administration console in the “Server” > “Cloud” menu on the “Cloud Server” page)
under Windows
Windows does not allow you to connect in SSH natively but you can activate the Bash shell (Windows 10 mininum) or download the following two free software: PuTTY & PuTTYgen
To begin with, your private key must be converted for use with PuTTY.
To do this, open PuTTYgen and click on the " Load " button to load your private key. Then just save your private key using the “ Save private key ” button.
Now open PuTTY and configure it with the following:
Under Session (in the left panel):
[ HostName ] = IPv4 address of the server (indicated on your administration console in the “Server” > “Cloud” menu on the “Cloud Server” page)
[ Port ] = leave the default port, i.e. 22
[ Connection type ] = indicate “SSH” here
Under Connection / SSH / Auth (in the left panel): open your private key generated via PuTTYgen using the “ Browse ” button under “ Private key file for authentication ”.
To finish, press the “Open” button at the bottom of the window. A terminal will open and ask for your username ([ user ] = read below)
Default username [user] of unmanaged cloud servers with:
Alma Linux = almalinux
archlinux= arch
CentOS= cloud-user
Debian Stretch = debian
Debian Jessie = debian
Debian Wheezy (and earlier) = root
Fedora = fedora
FreeBsd = freebsd
ubuntu= ubuntu
openbsd = openbsd
openSUSE LEAP 15 = opensuse
openSUSE 42 = root
rancherOs = rancher
SuSE linux Enterprise server = root