My Oracle Support Banner

"com.jcraft.jsch.JSchException: Algorithm Negotiation Fail" Signaled when Executing ODI OdiSftpPut / OdiSftpGet Tools (Doc ID 1668435.1)

Last updated on FEBRUARY 12, 2021

Applies to:

Oracle Data Integrator - Version 11.1.1.3.0 and later
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=<HOST>" "-USER=<USER>" "-PASSWORD=<PASSWORD>" "-LOCAL_DIR=<LOCAL DIR>" "-LOCAL_FILE=<LOCAL FILE.txt>" "-REMOTE_DIR=<REMOTE DIR>" "-REMOTE_FILE=<REMOTE FILE.txt>" "-STRICT_HOSTKEY_CHECKING=YES" "-TIMEOUT=60"

... the following message is signaled:

Caused by: org.apache.commons.vfs2.FileSystemException: Could not connect to SFTP server at "<HOST>"
  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!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.