Immediate Preinstallation Failure Due to SSH Permission Disablement of User root

22

A failure message is displayed immediately after you run the ./setuptool.sh preinstall during the Configuring and Checking the Installation Environment.
Possible Causes:The Secure Shell (SSH) permission of user root may have been disabled for the sake of security on the server where FusionInsight HD is to be installed. The Linux OS allows user root to log in over SSH by default.Procedure:
This section uses one server as an example to show how to rectify the fault. The operations are the same for rectifying this fault on other servers.
1.Use PuTTY to log in to a server where FusionInsight HD is to be installed as user root.
2.Check whether the sshd_config file contains PermitRootLogin no. If the file contains PermitRootLogin no, the SSH permission of user root is disabled:cat /etc/ssh/sshd_config.If yes, go to 3.If no, the configuration failure is not caused by SSH permission disabling. Rectify this fault using other methods.
3.Change PermitRootLogin no contained in the sshd_config file to PermitRootLogin yes to enable the SSH permission of user root:vi /etc/ssh/sshd_config
4.Restart the SSH service:/etc/init.d/sshd restart

Other related questions:
Password of user root
The default password of user root is Huawei12#$. The default password of user root for servers of earlier versions may be root.

Revelations of troubleshooting-SSH login failure
If logging to the SSH server through STelnet fails, check the following configuration: 1. Check whether the SSH service is enabled on the SSH server. 2. Check whether the access protocol is correctly configured in the VTY user interface view. 3. Check whether an RSA public key is configured on the SSH server. 4. Check whether an SSH user is configured on the SSH server. 5. Check whether the number of login users on the SSH server reaches the upper limit. 6. Check whether an ACL is bound to the VTY user interface of the SSH server. 7. Check the SSH version on the SSH client and server. 8. Check whether first-time authentication is enabled on the SSH client.

Enabling or disabling the Telnet or SSH function on the USG6000
Enable or disable the Telnet or SSH function on the USG6000 as follows: 1. Run the following commands in the CLI to enable or disable the Telnet or SSH function: sy [USG6600-1]aaa [USG6600-1-aaa]manager-user admin [USG6600-1-aaa-manager-user-admin]service-type ? ftp FTP user ssh SSH user telnet Telnet user terminal Terminal user web Web authentication user [USG6600-1-aaa-manager-user-admin]service-type ft [USG6600-1-aaa-manager-user-admin]service-type ftp ssh te [USG6600-1-aaa-manager-user-admin]service-type ftp ssh terminal After you run the preceding commands, the admin account has only the ftp ssh terminal permission but not the telnet web permission.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top