AppSync:無法將 AIX 主機新增至 AppSync,並顯示錯誤「主機認證失敗」。

Summary: 必須在 sshd-config 檔案中正確設定「PermitRootLogin」參數,才能成功進行主機認證。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

 

使用者無法將 AIX 7.1 主機新增至 AppSync。此作業失敗,並會在伺服器記錄中看到下列錯誤:

08-21-2019 12:45:30.690 錯誤 [Thread-105 (HornetQ-client-global-threads-954151023)] [com.emc.archway.service.sshservice.SecureShellSession] [作為伺服器名稱] [<] da83e2f5-6fa7-4679-a010-563eb53f88c8->>> 連線至主機時發生錯誤:><IP 位址>:驗證失敗

08-21-2019 12:45:30.737 錯誤 [Thread-105 (HornetQ-client-global-threads-954151023)] [com.emc.archway.commands.host.DeployHostCommandBean] [<作為伺服器名稱>] [] da83e2f5-6fa7-4679-a010-563eb53f88c8->>> 發生例外:HostAuthenticationFailedException, 訊息:主機驗證失敗。

08-21-2019 12:45:30.846 DEBUG [Thread-105 (HornetQ-client-global-threads-954151023)] [com.emc.archway.commands.host.DeployHostCommandBean] [<作為伺服器名稱>] [] da83e2f5-6fa7-4679-a010-563eb53f88c8->>> 已成功推送代理程式檔案, 驗證主機部署:<IP 位址>

08-21-2019 12:45:30.846 INFO [Thread-105 (HornetQ-client-global-threads-954151023)] [com.emc.archway.service.eventservice.EventServiceBean] [<作為伺服器名稱>] [] da83e2f5-6fa7-4679-a010-563eb53f88c8->>> 事件 [MILE_000010]:在以下 <位置部署主機期間發生錯誤:IP 位址> (中繼資料:TYPE-ERROR, TIME-2019-08-21 12:45:30.846-0400NATIVETIME-2019-08-21 12:45:30.846-0400, HOST-AS< SERVER NAME>, PHASE-, THREAD=Thread-105 (HornetQ-client-global-threads-954151023), USER-admin, CATEGORY-MILESTONE, SESSIONID-GFkTWyFaoknMLTB6FvJPzktcJbOoWA8wduLj8OOj)

Cause

使用者環境最近進行了變更,變更了 AIX 主機上 ssh_config 檔案中的 PermitRootLogin 參數。

Resolution

變更sshd_config檔案中的 PermitRootLogin 參數,以允許 AppSync 伺服器連線至代理程式。

sshd_config 檔案位於 /etc/ssh/sshd_config 下。

一般來說,PermitRootLogin 應設定如下:
debug3:/etc/ssh/sshd_config:41 設定 PermitRootLogin 無密碼

Affected Products

AppSync

Products

AppSync
Article Properties
Article Number: 000168358
Article Type: Solution
Last Modified: 18 Sept 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.