SFTP_JAVA Job aborts using valid SSH Shared Key

Document ID : KB000087816
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
AwE-5700 Server closed connection
com.jcraft.jsch.JSchException: Auth fail

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.

AgentService log:
10:35:41.632 ASM6: AwE-5700
ErrorMsg: AwE-5700 Server closed connection (6/13/16 10:35 AM)
Details: /u01/app/uc4/out/o1815659.01
com.jcraft.jsch.JSchException: Auth fail

 
The SFTP_JAVA job log:
2016-06-14 09:55:05 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.


 
Cause:
Cause type:
By design
Root Cause: Legacy AM FTP jobs.
Resolution:
For the latest full featured FTP jobs, use the RA FTP Agent to execute FTP jobs within Applications Manager.

Fix Status: No Fix

Fix Version(s):
N/A
Additional Information:
Workaround :
N/A