SFTP_JAVA Job aborts using valid SSH Shared Key
search cancel

SFTP_JAVA Job aborts using valid SSH Shared Key

book

Article ID: 87816

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

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:

10:35:41.632 ASM6: AwE-5700
ErrorMsg: AwE-5700 Server closed connection 
Details: /u01/app/uc4/out/o1815659.01
com.jcraft.jsch.JSchException: Auth fail

 
The SFTP_JAVA job log:
 Error - unable to connect to remote host - '<remote host>.com'


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. 

  • The remote host must accept password authentication.
  • The login for the SFTP_JAVA Job must have a valid user and password.

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.


 

Environment

CA Automic Applications Manager

Cause

 Legacy AM SFTP jobs.

Resolution

For the latest full featured FTP jobs, use the RA FTP Agent to execute FTP jobs within Applications Manager.

Additional Information

Workaround :
N/A