Six Stars

BUG - SFTP connection failed - Algorithm negotiation fail

I keep getting 'Algorithm negotiation fail' error while trying to connect to SFTP

 

Exception in component tFTPConnection_1 (TesttGPGDecrypt)
com.jcraft.jsch.JSchException: Algorithm negotiation fail
at com.jcraft.jsch.Session.receive_kexinit(Session.java:583)
at com.jcraft.jsch.Session.connect(Session.java:320)
at com.jcraft.jsch.Session.connect(Session.java:183)
at <projectname>.testtgpgdecrypt_0_2.TesttGPGDecrypt.tFTPConnection_1Process(TesttGPGDecrypt.java:2584)
at <projectname>.testtgpgdecrypt_0_2.TesttGPGDecrypt.tSetGlobalVar_1Process(TesttGPGDecrypt.java:2381)
at <projectname>.testtgpgdecrypt_0_2.TesttGPGDecrypt.jlet_core_contextload_1_tMSSqlInput_1Process(TesttGPGDecrypt.java:2223)
at <projectname>.testtgpgdecrypt_0_2.TesttGPGDecrypt.jlet_core_contextload_1_tFileInputRaw_2Process(TesttGPGDecrypt.java:5352)
at <projectname>.testtgpgdecrypt_0_2.TesttGPGDecrypt.jlet_core_contextload_1_tFileInputRaw_1Process(TesttGPGDecrypt.java:4946)
at <projectname>.testtgpgdecrypt_0_2.TesttGPGDecrypt.jlet_core_contextload_1_tFileExist_2Process(TesttGPGDecrypt.java:5750)
[FATAL]: <projectname>.testtgpgdecrypt_0_2.TesttGPGDecrypt - tFTPConnection_1 Algorithm negotiation fail

 

I am able to connect to that SFTP using filezilla, regular FTP works fine. its SFTP that is causing this issue.

 

Here is my job screenshot

 

image.png

 

I read this post about same issue that it can be fixed updating jsch jar file but it doesnt work.

 

"rename your new .jar file with the old one(rename jsch-0.1.54 as  jsch-0.1.51) and restart your studio to see if it works?"

https://www.talendforge.org/forum/viewtopic.php?id=52760

 

using 6.4 enterprise version.

4 REPLIES
Six Stars

Re: BUG - SFTP connection failed - Algorithm negotiation fail

I have tried installing jsch-0.1.54.jar as jsch-0.1.53.jar by renaming that file as suggested here https://www.talendforge.org/forum/viewtopic.php?id=52760 

 

download link : http://sourceforge.net/projects/jsch/files/jsch.jar/0.1.54/jsch-0.1.54.jar/download

 

but it doesn't work.

 

need resolution on this asap, would really appreciate any help on this issue.

 

 

Moderator

Re: BUG - SFTP connection failed - Algorithm negotiation fail

Hello,

Current SFTP of tFTPConnection only support SHA1 algorithm.

Here is a new feature jira issue:https://jira.talendforge.org/browse/TDI-32915

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: BUG - SFTP connection failed - Algorithm negotiation fail

https://jira.talendforge.org/browse/TDI-32915 is submitted 2.5 years ago, as bug in 5.5.1 version. 

 

Any idea when it is going to be fixed? SHA1 is depreciated hence supporting SHA2 is critical & should be considered as high priority.

 

 

Moderator

Re: BUG - SFTP connection failed - Algorithm negotiation fail

Hello,

So far, we don't have extract time when this new feature issue is going to be fixed.

Feel free to vote for this new feature jira issue and we will keep you posted.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.