This topic describes how to search for a host, modify the basic information about a host, and delete a host from the host list.
Prerequisites
The hosts on which you want to perform O&M operations are added to your bastion host. For more information, see Add hosts.
Search for a host
Log on to the console of a bastion host. For more information, see Log on to the console of a bastion host.
In the left-side navigation pane, choose .
On the Hosts page, configure search conditions to search for the hosts that you want to manage.
Column
Description
Hostname
The name of the host.
NoteYou can change the hostnames of the hosts that are imported from your computer or third-party sources.
To change the hostname of an Elastic Compute Service instance, log on to the ECS console. Then, Bastionhost automatically maps the new name to the value of the Hostname parameter. For more information, see Modify the attributes of an instance.
Host IP Address
The O&M IP address that is used to connect the bastion host to the destination host. The IP address can be a public IP address or an internal IP address.
NoteFor more information about how to change an O&M IP address, see Change the O&M IP address of a host.
Remarks
The description of the host.
NoteYou can change the descriptions of the hosts that are imported from your computer or third-party asset sources.
To change the description of an Elastic Compute Service instance, log on to the ECS console. Then, Bastionhost automatically maps the new description to the value of the Remarks parameter. For more information, see Modify the attributes of an instance.
Host Accounts
The number of host accounts of the host.
Network Domain
The network domain that is used to connect the bastion host to the host.
Operating System
The operating system of the host. Valid values: Linux and Windows.
Host Source
The source of the host. Valid values: ECS, Local, and Third-party Hosts.
Bastion Host Status
The status of the ECS instance or the third-party host. Valid values: Normal and Released.
The asset status is automatically checked every 4 hours. After you import an asset, the system updates the asset status at the next automatic check. You can click Check ECS Instance Status in the upper-right corner of the host list to check the status of multiple ECS instances at a time.
Network Status
The connectivity between the bastion host and the port of the host. Valid values: Normal, Port Exception, Network Timeout, and Proxy Server Exception.
The network status of assets is automatically checked based on the asset connectivity check cycle that is configured on the Network Diagnosis tab. The system updates the network status of assets at the next automatic check. You can click Check Network Status of Asset in the upper-right corner of the host list to check the network status of multiple assets at a time.
NoteFor more information about how to configure periodic check of asset connectivity, see Diagnose network issues.
Risk Status
If your assets are added to Security Center, you can view the asset risks detected by Security Center. The risk data includes the status and numbers of the alerts, vulnerabilities, and baseline risks detected on assets. You can go to the Security Center console to handle the risks in time. For more information, see Manage servers.
Modify the basic information about a host
You can modify the basic information about hosts that are manually created or imported by using a file. You cannot modify the basic information about imported ECS instances. For more information about how to modify the basic information about an ECS instance, see Modify the attributes of an instance.
Log on to the console of a bastion host. For more information, see Log on to the console of a bastion host.
In the left-side navigation pane, choose .
On the Hosts page, find the host whose basic information you want to modify and click the name of the host.
In the panel that appears, click the Basic Info tab, modify the basic information about the host, such as the IP address and hostname, and then click Update.
Delete a host
If you no longer need to use a host, you can delete the host from the host list.
After you delete the host, all permissions on the host are revoked. For example, a user is granted permissions to manage a host. When the host is deleted, the permissions are revoked. You can no longer log on to the host by using the bastion host.
Log on to the console of a bastion host. For more information, see Log on to the console of a bastion host.
In the left-side navigation pane, choose .
On the Hosts page, you can delete a host or multiple hosts.
Delete a host: Find the host that you want to delete and click Delete in the Actions column. You can also select the host and click Delete below the host list.
Delete multiple hosts: Select the hosts that you want to delete and click Delete below the host list.
In the Are you sure you want to delete the selected hosts? message, click Delete.