Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] sFTP problem

Hello,
When i try to connect to my sFTP server i've got the following message :
Exception in component tFTPConnection_1
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)
(same problem in password mode or private key mode)
I use TOS 5.6.2 and "jsch-0.1.51.jar"

Thanks.
Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

maybe here, but i dont try it yet
hllp : //www.programmingforliving.com/2014/10/com.jcraft.jsch.JSchException-Algorithm-negotiation-fail.html
change hallp : // to http://

View solution in original post

6 Replies
Anonymous
Not applicable
Author

It looks like you are trying to use Kerberos authentication correct or the server expect this. 
Anonymous
Not applicable
Author

Hi,
Finaly, my problem was resolved modifying sshd_conf like describe here :

Thanks for your answer.
chafer
Contributor
Contributor

Where is modifying the sshd_conf described?  I don't see a link.
Anonymous
Not applicable
Author

maybe here, but i dont try it yet
hllp : //www.programmingforliving.com/2014/10/com.jcraft.jsch.JSchException-Algorithm-negotiation-fail.html
change hallp : // to http://
chafer
Contributor
Contributor

Thank you. 
Anonymous
Not applicable
Author

Hi

I had the same issue using TOS 6.1 to connect to a FTP with implicit TLS.

I had the sftp support checked.

Following this thread, I downloaded jsch-0.1.55, copied it into D:\Talend\TOS_DI-20151214_1327-V6.1.1\workspace\.Java\lib and renamed it jsch-0.1.51.jar. After restzrting the studio, same issue.

I then copied it to D:\Talend\TOS_DI-20151214_1327-V6.1.1\configuration\.m2\repository\org\talend\libraries\jsch-0.1.51\6.0.0-SNAPSHOT to replace the existing jsch-0.1.51-6.0.0-SNAPSHOT.jar

It now works after restarting the studio

Hope it helps !