"com.jcraft.jsch.JSchException: Algorithm Negotiation Fail" Signalled When Executing ODI OdiSftpPut / OdiSftpGet Tools

(Doc ID 1668435.1)

Last updated on MARCH 07, 2018

Applies to:

Oracle Data Integrator - Version to [Release 11gR1 to 12c]
Information in this document applies to any platform.


When executing Oracle Data Integrator (ODI) OdiSftpPut / OdiSftpGet tools to connect to the SFTP server using the following command:

OdiSftpPut "-HOST=******" "-USER=******" "-PASSWORD=******" "-LOCAL_DIR=/home/oracle" "-LOCAL_FILE=test_file.txt" "-REMOTE_DIR=/home/oracle/ftp_test" "-REMOTE_FILE=test_file.txt" "-STRICT_HOSTKEY_CHECKING=YES" "-TIMEOUT=60"

... the following message is signalled:

Caused by: org.apache.commons.vfs2.FileSystemException: Could not connect to SFTP server at "******"
  at org.apache.commons.vfs2.provider.sftp.SftpClientFactory.createConnection(SftpClientFactory.java:230)
  at org.apache.commons.vfs2.provider.sftp.SftpFileProvider.doCreateFileSystem(SftpFileProvider.java:96)
Caused by: com.jcraft.jsch.JSchException: Algorithm negotiation fail
  at com.jcraft.jsch.Session.receive_kexinit(Session.java:529)
  at com.jcraft.jsch.Session.connect(Session.java:291)
  at com.jcraft.jsch.Session.connect(Session.java:154)
  at org.apache.commons.vfs2.provider.sftp.SftpClientFactory.createConnection(SftpClientFactory.java:226)


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms