AppSync : Impossible d’ajouter un hôte AIX à AppSync avec l’erreur « Host Authentication failed ».
Summary: Le paramètre « PermitRootLogin » doit être correctement défini dans le fichier sshd-config pour une authentification réussie de l’hôte.
Symptoms
L’utilisateur ne peut pas ajouter un hôte AIX 7.1 à AppSync. Cela échoue avec les erreurs suivantes affichées dans les journaux du serveur :
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 : <ADRESSE IP :>Échec de l’authentification
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 : Échec de l’authentification de l’hôte.
21/08/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>>>- fichiers de l’agent envoyés avec succès, 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] : Une erreur s’est produite lors du déploiement des hôtes sur <ADRESSE> IP (MÉTADONNÉES : 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
Le fichier sshd_config se trouve sous /etc/ssh/sshd_config.
En général, PermitRootLogin doit être défini comme suit :
debug3 : /etc/ssh/sshd_config :41 setting PermitRootLogin without-password