tFTPConnection_1 : Algorithm negotiation fail

One Star

tFTPConnection_1 : Algorithm negotiation fail

Hello everyone,
Here is my problem : I had a job that worked very well and that would get me my files on a remote server. But since they changed their FTP for SFTP I have this error that appears.
"Exception in component tFTPConnection_1
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 projectname.import_ftp_acf_wc_ong_v1_0_1.import_FTP_ACF_WC_ONG_V1.tFTPConnection_1Process(import_FTP_ACF_WC_ONG_V1.java:1139)
    at projectname.import_ftp_acf_wc_ong_v1_0_1.import_FTP_ACF_WC_ONG_V1$3.run(import_FTP_ACF_WC_ONG_V1.java:9552)"
I can connect with WinSCP on the server so my IDs are good.
I am new at Talend, I have no idea how to remedy that.
Thank you for your help.
PS: Sorry for my poor english
Moderator

Re: tFTPConnection_1 : Algorithm negotiation fail

Hi,
Have you checked out "SFTP support" on tFTPConnection component? There is no network issue on your end? Can you connect your changed remote server through other tools successfully without using talend tool?
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.
One Star

Re: tFTPConnection_1 : Algorithm negotiation fail

Hello,
Yes, the "SFTP support" is checked and i connect my changed remote server with Winscp to get my remote files manually.
Cordially
One Star

Re: tFTPConnection_1 : Algorithm negotiation fail

Hello,
Try to upgrade the library jsch.jar in TOS_DI-20141024_1545-V5.6.0\configuration\lib\java to the latest version(jsch-0.1.53.zip and rename it to jsch.jar) that you can get from  jcraft.com/jsch/, restart talend and execute your job.
Regards,
Amine
Not applicable

Re: tFTPConnection_1 : Algorithm negotiation fail

Hello, I'm facing the same issue
dase the tFTPconnection in talend support :
 - KexAlgorithms  diffie-hellman-group-exchange-sha256
 - MACs  hmac-sha2-512,hmac-sha2-256
 - Ciphers  aes256-ctr,aes192-ctr,aes128-ctr

and yep, "SFTP support" is selected. 
i'm using private key with key Passphrase.

Thanks.