在 Windows 服务器上设置 SSH

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

准备工作

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

确保要管理的服务器符合托管服务器要求中的先决条件。

如果您已有要使用的 SSH 密钥,请跳过此步骤,然后继续设置 WebSphere Automation 以将 SSH 连接到 Windows 服务器

过程

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

下一步操作

转到设置 WebSphere Automation 以将 SSH 连接到 Windows 服务器