You can find the credentials for root
access to the server (IP address and password) on the server's Dashboard. You can also copy the SSH connection command directly from there.
You can work with the server via SSH using the web console in the control panel, but it may not always be convenient. It’s better to connect to the server via SSH using specialized software, depending on your computer’s operating system. The software may either be built-in or need to be installed separately.
For Linux or macOS users, you can use the built-in terminal utility. On Windows, starting with version 10 (build 1809), there is a built-in SSH client, and you can use Windows PowerShell to connect via SSH.
To connect to the cloud server:
ssh root@server_IP_address
For example:
ssh [email protected]
yes
and press Enter.If all the details are correct, the connection will be established.
When using older versions of Windows, you’ll need an additional SSH client, such as PuTTY, to connect via SSH. You can download it from the official website and install on your machine.
To connect using PuTTY:
You can save the session settings by entering a convenient name (e.g., vds1
) in the Saved Sessions field and clicking Save.
login as
— enter root
.password
— enter the password (the characters will not be shown on the screen).If the credentials are correct, the connection will be established. Now you can enter commands directly in the console window.
SFTP (SSH File Transfer Protocol) is a secure protocol for working with files on a remote server. It allows you to transfer files, create directories, manage permissions, etc. Working with SFTP is similar to working with FTP, but the connection is established over the secure SSH protocol.
FTP (File Transfer Protocol) is an older method for transferring files and is considered generally unsafe. It lacks encryption and has several security flaws that make it less suitable for usage, especially when dealing with sensitive data. We recommend using SFTP instead of FTP.
By default, Hostman servers allow SFTP connections. If you wish to use FTP, you need to set up FTP on your server manually.
For establishing a connection, you need an SFTP client, such as FileZilla, WinSCP, Cyberduck etc.
To connect, use the following credentials:
root
or another user created on the serverIf RSA key authentication is used, you will also need to provide the passphrase (if you set it when creating the RSA key) and upload the contents of the public key.
We do not recommend connecting via SFTP as the
root
user. Not only does this pose security risks, but it can also be inconvenient.
When you connect as root, you’ll start in the
root
home directory (/root
). This means you’ll have to navigate through the file system to reach your project folders.
Besides, any files you upload as
root
will be assigned the user and grouproot:root
, which may prevent the web server from accessing them. This could lead to access errors for those new files.
You can download FileZilla client from the official website.
Launch the program and enter the necessary connection settings:
Click the Quickconnect button. If all the information is correct, the connection will be established.
The right side of the window will display the user account on the server, while the left side shows navigation through your local computer’s folders.
Note: FTP connections with encryption enabled won’t work by default. You need to configure FileZilla to either use "Use explicit FTP over TLS if available" (this is the default option) or "Use plain FTP" in the File → Site Manager settings.
To avoid re-entering server details every time you connect, you can save the connection in the settings.
If the connection is already established:
If no connection is currently active:
In the future, you can connect to the saved server with just one click by selecting the saved connection from the list of sites in the Site Manager.