How Do I Clear the SSH Login IP Address Whitelist Configured in HSS?
The methods to clear the whitelist vary according to your HSS quota states.
Normal or Expired
Normal and expired quotas can be used. To delete the SSH login IP address, disable or delete it on the management console.
- Log in to the management console.
- In the upper left corner of the page, select a region, click , and choose .
- On the Installation and Configuration page, click Security Configuration, and click SSH IP Whitelist.
- Click Disable or Delete to clear the whitelist.
Frozen or Deleted After the Freeze Period Expires
If the quota status is Frozen or the quota is deleted after the freeze period expired, HSS will no longer protect your servers. You cannot clear the SSH login IP address whitelist through the management console.
Perform the following steps to clear the configured SSH login IP address whitelist:
- Log in to the server whose SSH login IP address whitelist needs to be cleared.
- Run the following command to view the /etc/sshd.deny.hostguard file, as shown in Figure 1.
cat /etc/sshd.deny.hostguard
- Run the following command to open the /etc/sshd.deny.hostguard file:
vim /etc/sshd.deny.hostguard
- Press i to enter the editing mode and delete ALL.
- Press Esc to exit the editing mode, and then run the :wq command to save the modification and exit.
Security Configurations FAQs
- How Do I Clear the SSH Login IP Address Whitelist Configured in HSS?
- What Can I Do If I Cannot Remotely Log In to a Server via SSH?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore