Help Center/ Cloud Bastion Host/ FAQs/ About File Transfer/ How Do I Use FTP/SFTP to Transfer Files to or From an SSH Host?
Updated on 2023-04-11 GMT+08:00

How Do I Use FTP/SFTP to Transfer Files to or From an SSH Host?

The O&M engineer admin_A needs to use the FTP/SFTP client to transfer files to the SSH host HOST_A managed by a CBH instance.

Configuring HOST_B Resources

The CBH administrator assigns the O&M permissions of HOST_B to the O&M engineer admin_A.

  1. Choose Resource > Host.
  2. Click New to create FTP/SFTP host HOST_B.

    • Select FTP or SFTP for Protocol. For security purposes, you are advised to select SFTP.
    • Set Host Address to the IP address of HOST_A.
    • Set other parameters according to the configuration of HOST_A. HOST_A and HOST_B point to the same host, but the protocol type is different.

  3. Choose Policy > ACL Rules, and assign the newly created host HOST_B to admin_A.

Transferring files using SFTP/FTP clients

The following describes how the O&M engineer admin_A logs in to the CBH instance and transfers files using HOST_B.

  1. Choose Operation > Host Operation.
  2. Click Login in the row where HOST_B locates.
  3. Start the local FTP/SFTP client and enter the required login information in the displayed dialog box.
  4. After engineer admin_A logs in to HOST_B, files can be transferred.

    Figure 1 Viewing suggestions about the SFTP client configuration