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 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(
  at org.apache.commons.vfs2.provider.sftp.SftpFileProvider.doCreateFileSystem(
Caused by: com.jcraft.jsch.JSchException: Algorithm negotiation fail
  at com.jcraft.jsch.Session.receive_kexinit(
  at com.jcraft.jsch.Session.connect(
  at com.jcraft.jsch.Session.connect(
  at org.apache.commons.vfs2.provider.sftp.SftpClientFactory.createConnection(


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.