在 Windows 伺服器上設定 SSH

WebSphere Automation 需要遠端存取受管理伺服器,才能套用安全修正程式或收集資料堆傾出資訊。 WebSphere Automation 及受管理伺服器必須適當地配置,才能進行遠端存取。

開始之前

每一部 Windows 伺服器都必須已安裝 Win32-OpenSSHWebSphere Automation 使用指定的使用者帳戶透過 SSH 連接至受監視伺服器。 因此,每一個伺服器也必須使用相同的使用者帳戶及 SSH 金鑰來配置及存取。 使用者帳戶必須有權執行 wsadmin Script (適用於 WebSphere Application Server) 或 server Script (適用於 WebSphere Application Server Liberty) ,以及存取 WebSphere Application ServerWebSphere Application Server Liberty所產生的資料堆傾出檔。

請確定要管理的伺服器符合 受管理伺服器需求中的必要條件。

如果您具有想要使用的現有 SSH 金鑰,請跳過此步驟並繼續 設定 WebSphere Automation for SSH 至 Windows 伺服器

程序

由於使用相同的 SSH 金鑰和使用者來存取所有 WebSphere Application ServerWebSphere Application Server Liberty 伺服器,因此請建立個別的使用者和 SSH 金鑰,特別供 WebSphere Automation使用。
避免使用特許使用者帳戶,例如 Administratorroot。 如需如何產生新 SSH 金鑰的指示,請參閱 在 Linux 或 Unix 伺服器上設定 SSH

下一步

繼續 設定 WebSphere Automation for SSH 至 Windows 伺服器