AppSync: Impossibile aggiungere l'host AIX ad AppSync con errore "Host Authentication failed".
Summary: Il parametro "PermitRootLogin" deve essere impostato correttamente nel file sshd-config per una corretta autenticazione host.
Symptoms
L'utente non è in grado di aggiungere un host AIX 7.1 ad AppSync. Questa operazione ha esito negativo con i seguenti errori visualizzati nei registri del server:
21/08/2019 12:45:30.690 ERRORE [Thread-105 (HornetQ-client-global-threads-954151023)] [com.emc.archway.service.sshservice.SecureShellSession] [<AS SERVER NAME]> [] da83e2f5-6fa7-4679-a010-563eb53f88c8->>> Errore durante la connessione all host: <INDIRIZZO IP:> autenticazione non riuscita
21/08/2019 12:45:30.737 ERRORE [Thread-105 (HornetQ-client-global-threads-954151023)] [com.emc.archway.commands.host.DeployHostCommandBean] [<AS SERVER NAME]> [] da83e2f5-6fa7-4679-a010-563eb53f88c8->>> Si è verificata un'eccezione: HostAuthenticationFailedException, messaggio: Autenticazione host non riuscita.
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->>> file dell'agent sottoposti a push riusciti, Verifica dell'implementazione per host:<INDIRIZZO IP>
21/08/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]: Si è verificato un errore durante il deployment degli host su <INDIRIZZO IP> (METADATI: ERRORE TIPO, ORA-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
Il file sshd_config si trova in /etc/ssh/sshd_config.
In generale, PermitRootLogin deve essere impostato come segue:
debug3: /etc/ssh/sshd_config:41 impostazione di PermitRootLogin without-password