There are 3 recommended methods of uploading files to VPS/Dedicated servers:
Most our VPS servers have Heista panel installed which allowed you to create FTP accounts and upload using FTP this is best since files are uploaded using your hosting accounts UID rather than root user, so this is best to use :
Prerequisites
Step 1: Log in to Hestia Control Panel
First, log in to your Hestia Control Panel using your username and password. The URL is typically https://your-server-ip:10000
Step 2: Navigate to the Web Section
Once logged in, click on the WEB tab at the top of the page. This section lists all the websites you have added to Hestia.
Step 3: Select the Domain
Find the domain for which you want to create an FTP account and hover your mouse over it. A few icons will appear. Click the Edit (pencil) icon.
Step 4: Add an FTP Account
On the domain's edit page, scroll down until you see the Additional FTP Accounts section. Click the + Add Account button.
Step 5: Fill in the FTP Account Details
A new form will appear. Fill in the following details:
Username: Choose a unique username for the FTP account. This will be a combination of your domain name and the username you choose (e.g., yourdomain.com_username).
Password: Enter a strong password for the FTP account. You can use the "Generate" button to create a secure password.
Path: This is the directory the FTP user will have access to. The path is relative to your domain's web root (/home/user/web/yourdomain.com/public_html/).
To give the user full access to the public_html directory, leave this field blank.
To restrict access to a specific subfolder (e.g., uploads), enter the subfolder name here (e.g., public_html/uploads).
Step 6: Save the Changes
After filling in the details, click the Save button at the bottom of the page. Hestia will now create the FTP account.
Step 7: Connect Using an FTP Client
You can now connect to your server using an FTP client like FileZilla, Cyberduck, or WinSCP. Here are the details you will need:
Host/Server: Your domain name or server IP address.
Username: The full username you created (e.g., yourdomain.com_username).
Password: The password you set for the account.
Port: The default FTP port is 21. If you have SFTP enabled, the port is 22.
WinSCP (for windows users only)
You can download WinSCP here:
http://winscp.net/eng/download.php
To create a connection to your server in WinSCP:
1) Add your server IP address into the Hostname field
2) Set protocol to be SFTP (this works on port 22)
3) Enter root as your username
4) Enter your root password
SFTP (Using a normal FTP Client such as FileZilla)
Create a new connection in your FTP client:
1) Add your server IP address into the Hostname field
2) Set protocol to be SFTP (this works on port 22)
3) Enter root as your username
4) Enter your root password