在 Windows 服务器上设置 SSH

WebSphere Automation 需要远程访问受管服务器以应用安全修订或收集堆转储信息。 必须正确配置 WebSphere Automation 和受管服务器以允许远程访问。

准备工作

每台 Windows 服务器都必须安装 外部链接图标Win32-OpenSSHWebSphere Automation使用指定的用户账户通过 SSH 连接受监控的服务器。 因此,还必须使用相同的用户帐户和 SSH 密钥来配置和访问每个服务器。 用户账户必须有权限运行 wsadmin 脚本(用于 WebSphere Application Server )或 server 脚本(用于 WebSphere Application Server Liberty ),并访问 WebSphere Application ServerWebSphere Application Server Liberty 生成的堆转储文件。

请确保待管理的服务器满足《 受管服务器要求 》中的先决条件。

若您已有现成的SSH密钥需要使用,请跳过此步骤,直接进入为SSH到Windows服务器配置 WebSphere 自动化设置

过程

由于相同的 SSH 密钥和用户用于访问所有 WebSphere Application ServerWebSphere Application Server Liberty 服务器,因此请创建单独的用户和 SSH 密钥专门供 WebSphere Automation使用。
避免使用特权用户帐户,例如 Administratorroot。 有关如何生成新 SSH 密钥的说明,请参阅《 在 Linux 或 Unix 服务器上配置 SSH 》。

下一步操作

继续设置 WebSphere 自动化,用于SSH连接到Windows服务器