GPU Cloud Server

How to upload local files to a Linux cloud host

2026-01-28 02:23:54

Uploading to a Linux-based Cloud Server with WinSCP in a Windows System

WinSCP is a free and open source SFTP client software on the Windows platform. WinSCP provides a graphical user interface (GUI). With WinSCP, users can connect to a remote server and upload, download, copy, move, and delete files between the local computer and the remote server. WinSCP supports the SSH protocol to ensure data transfer security, and supports authentication using public keys and passwords.

If your local PC runs on a Windows operating system while the cloud server runs on a Linux operating system, you can use WinSCP to upload the local files to the cloud server.

Prerequisites:

· The local OS is Windows.

· The cloud server runs on a Linux operating system.

· The cloud server must be bound to the EIP.

· The port 22 (SSH service) is open for the security group to which the cloud server is added.

Procedure:

1. Download WinSCP client and install it.

2. Start WinSCP. The interface is shown below:

        

3. Enter login parameters on the WinSCP login interface.

        

· Protocol: Options include SFTP and SCP.

· Server name: EIP bound to the cloud server.

· Port: Default value: 22.

· Username: Username logged in to the cloud server.

· Password: Password of the username.

4. Click Login to go to the WinSCP file transfer page.

        

5. Upload the file.

a. In the right pane of the WinSCP file transfer page, select a directory in which the file is to be stored on the cloud server.

b. In the left pane of the WinSCP file transfer page, select a file to transfer.

c. In the left menu bar of the WinSCP file transfer page, click Upload.

d. In the upload confirmation dialog box, confirm the file information and click OK.

        

e. Check whether the file is uploaded successfully on the screen.

Uploading to a Linux-based Cloud Server with SCP in a Linux System

SCP is a secure file transfer protocol that can easily copy files between a local computer and a remote server, and guarantees security with data encryption and authentication through SSH.

If both your local PC and the cloud server run on a Linux operating system, you can use SCP to upload the local files to the cloud server.

Prerequisites:

 The local OS is Linux.

 The cloud server runs on a Linux operating system.

 The cloud server must be bound to the EIP.

 The port 22 (SSH service) is open for the security group to which the cloud server is added.

Procedure:

scp source_file user@target_ip:destination_file

# Upload local files to the cloud server via scp

scp -r source_dir user@target_ip:destination_path/

# Upload the local directory to the cloud server via scp -r

        


H0Co6HH7TvhT