forked from docs/doc-exports
Reviewed-by: Rumpler, Mihály <mihaly.rumpler@t-systems.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
3.3 KiB
3.3 KiB
How Can I Fix the "SSH dial error" During Batch Agent Installation?
Symptom
When the Agent installation command provided by the Cloud Eye console is used to batch install the Agent, the error message "SSH dial error" was displayed. As a result, the Agent failed to be installed, as shown in Figure 1.
Possible Causes
Login to the target server as user root or using a password is not allowed in its sshd settings.
Solution
- Check the sshd configuration file.
- Log in to the server where Agent installation fails as user root.
- Check whether both PermitRootLogin and PasswordAuthentication are set to yes in the sshd configuration file.If they are not, modify their settings by referring to Modifying the sshd Configuration File.
cat /etc/ssh/sshd_config
- Modify the sshd configuration file.
- Edit the sshd_config file.
vi /etc/ssh/sshd_config
- Modify the configuration items.
PermitRootLogin yes PasswordAuthentication yes
- Restart the sshd process.
systemctl restart sshd
- Edit the sshd_config file.
Parent topic: Server Monitoring
