我要评分
获取效率
正确性
完整性
易理解

SSH Hardening

During the HAF deployment and installation, connect to the server through Secure Shell (SSH). The root user has all the operation permissions. Logging in to the server as the root user may pose security risks.

You are advised to log in to the server as a common user for installation and deployment and disable root user login using SSH to improve system security.

  1. Log in to the server.
  2. Check the PermitRootlogin configuration item in /etc/ssh/sshd_config.
    • If the value is no, root user login using SSH is disabled.
    • If the value is yes, change it to no.