When attempting to use a shared key with Application Manager's SFTP_JAVA, Job aborts and the below error messages are displayed in the AgentService.log and job log. Using the same shared key from command line, a successful SFTP connection is made.
Error Message :AwE-5700 Server closed connection
com.jcraft.jsch.JSchException: Auth fail
AgentService log:
The SFTP_JAVA Job preceded the RA FTP Agent and has remained in place for legacy use only.
Whether or not a shared key is used, a password must be set in the Host Login Object for an SFTP_JAVA job.
Using an SSH shared key does not override the Host Login password for the remote machine. Setting up an SSH shared key only adds an extra layer of validation.
Release: AAMOS499000-8.0-Automic Applications Manager-OS400 Agent
Component: CA Automic Applications Manager 9.x
Cause type:
By design
Root Cause: Legacy AM SFTP jobs.
For the latest full featured FTP jobs, use the RA FTP Agent to execute FTP jobs within Applications Manager.