Help Center/ Cloud Bastion Host/ User Guide (Kuala Lumpur Region)/ Operation/ Host Operation/ Logging In to File Transfer Resources Using an FTP or SFTP Client
Updated on 2024-06-12 GMT+08:00

Logging In to File Transfer Resources Using an FTP or SFTP Client

CBH allows you to use file transfer clients to transfer files between authorized managed hosts using the file transfer protocol. This means you can transfer files the way you are used to. All operations performed on a host resource are recorded by CBH for audit.

This topic describes how to obtain client login information and log in to resources that use a file transfer protocol.

Constraints

Only hosts with Protocol set to FTP, SFTP, or SCP can be logged in to using a web browser. Client tools must meet the requirements in the following table.

Host Protocol

Client Tool Required

SFTP

Xftp 6 or later, WinSCP 5.14.4 or later, and FlashFXP 5.4 or later

FTP Protocol

Xftp 6 or later, WinSCP 5.14.4 or later, FlashFXP 5.4 or later, and FileZilla 3.46.3 or later

Prerequisites

  • You have the management permissions for the Host Operations module.
  • You have obtained the access permissions for the resources.
  • You have installed the client tool.
  • The network connection between the managed host and the system is normal, and the account username and password for logging in to the managed host are correct.
  • You have enabled FTP and opened ports 2222 (for SFTP) and 2121 (for FTP). For details, see Configuring the Operation Ports.

Procedure

  1. Obtain the login information.

    1. Log in to the CBH system.
    2. Choose Operation > Host Operations to go to the Host Operations page.
    3. Select an FTP or SFTP host resource, and click Login.

  2. Log in to the host using a client tool.

    1. Start the local FTP or SFTP client tool.
    2. Enter the host address, port number, user name, and login password.

      CBH allows you to use APIs to log in to hosts using the FTP or SFTP protocol.

      Table 1 Parameter description

      Parameter

      Description

      Host Addr

      IP address for logging in to the CBH system

      Port

      Port number. The default port number is 2222.

      UserName

      Username in the configuration information in the format of login name@resource account name@host address, for example, admin@root@192.168.1.1.

      Password

      Password for the user to log in to the CBH system.