forked from docs/doc-exports
Reviewed-by: Rogal, Marcel <mrogal@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: qiaoli <qiaoli@huawei.com> Co-committed-by: qiaoli <qiaoli@huawei.com>
11 KiB
11 KiB
Configuring Server Login Protection
You can configure common login locations, common login IP addresses, and an SSH login IP address whitelist.
Configuring Common Login Locations
After you configure common login locations, HSS will generate alarms on the logins from other login locations. A server can be added to multiple login locations.
- Log in to the management console.
- Click
in the upper left corner of the page, select a region, and choose Security > Host Security Service. The HSS page is displayed. - Choose Installation & Configuration and click the Security Configuration tab. Click Common Login Locations and click Add Common Login Location.
- In the dialog box that is displayed, select a geographical location and select servers. Confirm the information and click OK.
- Return to the Security Configuration tab of the Installation & Configuration page. Check whether the added locations are displayed on the Common Login Locations subtab.
Configuring Common Login IP Addresses
After you configure common IP addresses, HSS will generate alarms on the logins from other IP addresses.
- Log in to the management console.
- Click
in the upper left corner of the page, select a region, and choose Security > Host Security Service. The HSS page is displayed. - Choose Installation & Configuration and click the Security Configuration tab. Click Common Login IP Addresses and click Add Common Login IP Address.
- In the dialog box that is displayed, enter an IP address and select servers. Confirm the information and click OK.
- Return to the Security Configuration tab of the Installation & Configuration page. Check whether the added locations are displayed on the Common Login IP Addresses subtab.
Configuring an SSH Login IP Address Whitelist
The SSH login whitelist controls SSH access to servers to prevent account cracking.
- An account can have up to 10 SSH login IP addresses in the whitelist.
- After you configure an SSH login IP address whitelist, SSH logins will be allowed only from whitelisted IP addresses.
- Before enabling this function, ensure that all IP addresses that need to initiate SSH logins are added to the whitelist. Otherwise, you cannot remotely log in to your server using SSH.
If your service needs to access a server, but not necessarily via SSH, you do not need to add its IP address to the whitelist.
- Exercise caution when adding an IP address to the whitelist. This will make HSS no longer restrict access from this IP address to your servers.
- Before enabling this function, ensure that all IP addresses that need to initiate SSH logins are added to the whitelist. Otherwise, you cannot remotely log in to your server using SSH.
- Log in to the management console.
- Click
in the upper left corner of the page, select a region, and choose Security > Host Security Service. The HSS page is displayed. - Choose Installation & Configuration and click the Security Configuration tab. Click SSH IP Whitelist and click Add IP Address.
- In the dialog box that is displayed, enter an IP address and select servers. Confirm the information and click OK.
- Return to the Security Configuration tab of the Installation & Configuration page. Check whether the added locations are displayed on the Common Login IP Addresses subtab.
Parent topic: Common Security Configuration





