更新 SSH 配置
IBM® Intelligent Operations Center 安装需要进行 SSH 配置更改才能成功运行。
关于此任务
过程
- 通过运行以下命令生成该文件的备份副本:cp /etc/ssh/sshd_config /etc/ssh/sshd_config.orig
- 编辑 /etc/ssh/sshd_config 文件。
- 注释掉任何 AllowUsers 语句。
- 注释掉任何 AllowGroups 语句。
- 将任何 PermitRootLogin 语句设置为 yes,直至 IBM Intelligent Operations Center 安装完成。如果文件中没有 PermitRootLogin 语句,请勿添加该语句。
- 将任何 PasswordAuthentication 语句设置为 yes,直至 IBM Intelligent Operations Center 安装完成。如果没有 PasswordAuthentication 语句,请勿添加该语句。
- 保存更改。
- 通过运行以下命令生成已更改文件的备份副本:cp /etc/ssh/sshd_config /etc/ssh/sshd_config.ioc_maintenance
- 如果更改了 sshd_config 文件,请运行以下命令激活更改:service sshd restart