My Oracle Support Banner

"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 11.1.1.3.0 to 12.1.3.0.0 [Release 11gR1 to 12c]
Information in this document applies to any platform.

Symptoms

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)
  ...

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.