AppSync: Unable to add AIX host to AppSync with error "Host Authentication failed".
Summary: "PermitRootLogin" parameter must be set correctly in the sshd-config file for successful host authentication.
Symptoms
User is unable to add an AIX 7.1 host to AppSync. This fails with the following errors seen in the server logs:
08-21-2019 12:45:30.690 ERROR [Thread-105 (HornetQ-client-global-threads-954151023)] [com.emc.archway.service.sshservice.SecureShellSession] [<AS SERVER NAME>] [] da83e2f5-6fa7-4679-a010-563eb53f88c8->>> Error while Connecting to host: <IP ADDRESS>:Auth fail
08-21-2019 12:45:30.737 ERROR [Thread-105 (HornetQ-client-global-threads-954151023)] [com.emc.archway.commands.host.DeployHostCommandBean] [<AS SERVER NAME>] [] da83e2f5-6fa7-4679-a010-563eb53f88c8->>> Exception Occurred: HostAuthenticationFailedException, Message: Host Authentication failed.
08-21-2019 12:45:30.846 DEBUG [Thread-105 (HornetQ-client-global-threads-954151023)] [com.emc.archway.commands.host.DeployHostCommandBean] [<AS SERVER NAME>] [] da83e2f5-6fa7-4679-a010-563eb53f88c8->>> agent files pushed successfully, Verifying deployment for host:<IP ADDRESS>
08-21-2019 12:45:30.846 INFO [Thread-105 (HornetQ-client-global-threads-954151023)] [com.emc.archway.service.eventservice.EventServiceBean] [<AS SERVER NAME>] [] da83e2f5-6fa7-4679-a010-563eb53f88c8->>> EVENT [MILE_000010]: An error occurred during the deployment of hosts on <IP ADDRESS>(METADATA: 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
Resolution
The sshd_config file is located under /etc/ssh/sshd_config.
In general, PermitRootLogin should be set as follows:
debug3: /etc/ssh/sshd_config:41 setting PermitRootLogin without-password