CA7 AAI Server task is failing: SFTP Authentication to AAI Server failed
search cancel

CA7 AAI Server task is failing: SFTP Authentication to AAI Server failed

book

Article ID: 384654

calendar_today

Updated On:

Products

Automation Analytics & Intelligence

Issue/Introduction

The CA7 AAI Server task is failing when performing the SFTP to the target AAI with the error message below.

 

===============================================================================
 =                         W  A  R  N  I  N  G                                 =
 =             UNAUTHORIZED ACCESS PROHIBITED/ACCES INTERDIT                   =
 ===============================================================================

 --SFTP END--------------------------------------------------------------------

  SFTP Authentication to AAI Server failed - check SFTP log
SIGNAL XSFTFAIL occurred from line 356

 --FAILURE---------------------------------------------------------------------
 SFTP invocation failed on <DATE>

Environment

Product: Automation Analytics & Intelligence v6.x, v24.x

Cause

The logged in user who starts the CA7 AAI server task does not have the correct private/public keys.

Resolution

The user who starts the CA7 AAI server task will need to create the private/public keys for the target SFTP server.  The keys are created using the AIZJKKEY member  of the CUSTLIB as explained in the documentation below. Please make sure that those keys are saved in the default $HOME/.ssh directory of the user. 

Reference:

 

Then, transfer the public key to the target SFTP server and append it in the file authorized_keys of the user used to connect to the SFTP server. Please note that this user may be different from the user who starts the CA7 AAI server task.