How do I connect to a cloud server via SSH?

From Linux

Open a terminal/shell and run the following command:

ssh -i <private_key_file> <user>@<ip>

Replace <private_key_file>, <user>, and <ip> with the connection details.


From Windows

PowerShell

Open PowerShell and run the following command:

ssh -i "<private_key_file>" <user>@<ip>

Replace <private_key_file>, <user>, and <ip> with the connection details.

PuTTY application

PuTTY accepts keys in .ppk format, so you need to convert them using PuTTYgen, which can be downloaded from https://baehost.com/dl.php?type=d&id=19 

  1. Download the private key (.rsa file) from the client area.
  2. Open PuTTYgen.
  3. Select RSA.
  4. Import the .rsa file by clicking "Load".
  5. Click "Save private key".
  6. Click "Yes".
  7. Give it a name and save it.
  8. Open PuTTY, which can be downloaded from https://baehost.com/dl.php?type=d&id=18.
  9. Go to the Connection menu -> SSH -> Auth.
  10. Add the private key file generated in step 7.
  11. Return to the Session menu and enter the server's IP address.
  12. Connect.
  13. Use the username corresponding to your installed Linux distribution.

To connect with the generated .ppk key, repeat from step 8. You can also save the connection for future use.

 

SSH users according to Linux distribution

Linux Distro SSH User
Almalinux almalinux
Rocky Linux rocky
Ubuntu ubuntu
Arch Linux arch
FreeBSD freebsd
fedora fedora
debian debian
CentOS Stream cloud-user
Cloud Linux cloud-user
Oracle Linux cloud-user
Mikrotik CHR: Console user: admin *change password

 

Control panels


To access a control panel, you need to set a password for the root user using the command

Para acceder a un panel de control requiere establecer clave al usuario root con el comando

passwd

or

passwd root

Was this answer helpful? 0 Users Found This Useful (1 Votes)