unable to connect to SFTP form Linux box

Four Stars

unable to connect to SFTP form Linux box

Hi,

 

I have designed a basic job which includes tftpconnection onsubjonb ok tftpclose.

 

This job is running fine in my windows machine, when i build this job and run in the linux machine im getting the below error and java details are mentioned below 

 

Java : 

 

java -version
openjdk version "1.8.0_161"
OpenJDK Runtime Environment (build 1.8.0_161-b14)
OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)

 

 

Error :

 

Exception in component tFTPConnection_1
com.jcraft.jsch.JSchException: Auth cancel
at com.jcraft.jsch.Session.connect(Session.java:511)
at com.jcraft.jsch.Session.connect(Session.java:183)
at dl_test.test_v1_0_1.test_v1.tFTPConnection_1Process(test_v1.java:422)
at dl.test_v1_0_1.test_v1.runJobInTOS(test_v1.java:931)
at dl.test_v1_0_1.test_v1.main(test_v1.java:764)

 

Thanks in advance

 

Ten Stars

Re: unable to connect to SFTP form Linux box

Are you authorizing using a password or a key file?
Four Stars

Re: unable to connect to SFTP form Linux box

Password

Thirteen Stars

Re: unable to connect to SFTP form Linux box

@Prinkan,can you able to ping to SFTP server from Linux box? if not you might need to set proxy setting on linux box.

Manohar B
Four Stars

Re: unable to connect to SFTP form Linux box

yeah I'm able to ping to the SFTP.

Moderator

Re: unable to connect to SFTP form Linux box

Hello,

Open JDK is not officially supported by talend. Could you please try to install oracle JDK 1.8 in your linux to see if you are able to connect to SFTP by using talend tool from your linux box?

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.