A bastion host can manage hosts through a wide range of protocols, such as SSH, RDP, VNC, Telnet, FTP, SFTP, DB2, MySQL, SQL Server, Oracle, SCP, Redis, and Rlogin. You can use a bastion host to manage Windows servers, Linux servers, and databases.
This topic describes how to use a bastion host to centrally manage your host resources. We will introduce how to add a host resource, automatically discover host resources, and clone host resources.
CBH does not ensure the compatibility of third-party VNC software.
Enter the required network information and basic information of the host resource you want to add.
Parameter | Description |
|---|---|
Host Name | Custom name of the host resource. A host name must be unique in a bastion host. |
Protocol | Type of the protocol configured for the host.
|
Connection Type | This parameter is available when Protocol is set to SSH or RDP. Select a connection type. The options are Direct and Proxy. If you select Proxy, you need to select a proxy server. For details about how to add a proxy server, see Managing Proxy Servers. |
Host Address | Host IP address that can be used to establish a connection with your bastion host.
|
Port | Port number of the host. |
OS Type | (Optional) Type of the host OS or device OS.
|
Terminal Speed | If you select Rlogin for Protocol, you can select different terminal speeds. |
Encode | If you select SSH or TELNET for Protocol, you can use Chinese operation page. The options are UTF-8, Big5, and GB18030. |
Terminal Type | If you select SSH or TELNET for Protocol, you can specify the operation terminal you want. You can select Linux, Xterm-256color (default), or Xterm. |
Options | (Optional) Select File Manage, X11 forward, Uplink Clipboard, Keyboard Audit, and/or Downlink Clipboard.
|
Department Name | Department to which the host resource belongs. |
Label | (Optional) You can customize a label or select an existing one. |
Remarks | (Optional) A description of the host resource. |
If no accounts are configured for the managed hosts, account [Empty] is generated by default. When you log in to the managed host through a bastion host for operations, select [Empty] and enter the username and password of an account of the host.
Parameter | Description |
|---|---|
Add Account | When to add the account. The options are Rightnow and Afterward.
|
Login Type | Select a login type.
|
Account | Account name of the host. The value of Account must be unique in a bastion host and cannot be changed after it is created. If you select It's a sudo account, the account is identified as a sudo account for managing resources and has the password change permission. If the AD domain service is installed on the host, the added account is DomainName\HostAccountName, for example, ad\administrator. |
Password | Password of the account being added. By default, Verify is selected. After the account is added, the system automatically verifies the status of the account.
|
Postgresql/Gaussdb/DB2/Oracle Param | This parameter is available when you create a PostgreSQL, GaussDB, DB2, or Oracle resource. Enter database names to specify the databases that the current resource account can access. You can specify up to 20 databases. |
SSH Key | This parameter is available when you create an SSH resource. Configure SSH key authentication. After the configuration is complete, the SSH key is preferentially used to log in to the SSH host resource. An RSA private key in PEM or RFC4716 format is supported. |
Passphrase | This parameter is available when you create an SSH resource. Private key sequence corresponding to the SSH key. This parameter is optional.
|
Login Role | This parameter is available when you create an Oracle resource. Select a role for logging in to the host resource. |
Description | Brief description of the account. |
With the Auto Discover function, you can use Nmap to scan for hosts in a specific IP address or IP address range.
Host resources can be automatically discovered only when the hosts and your bastion host are in the same VPC and the network connection is normal.
The default ports are 21, 22, 23, 3389, and 5901. You can also add other ports or port ranges.
Click Return or Close to return to the host resource list page and view the newly added host resources.
If you want to add a host as many types of resources to your bastion host, you can copy the one you have added and change its configurations to add the modified one as another host resource.
To complete the host clone, modify at least one of the following parameters of the host resource you select: Protocol, Host Address, and Port.