Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Rajesh_Reddy
Contributor
Contributor

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

 

Labels (3)
5 Replies
cterenzi
Specialist
Specialist

Are you authorizing using a password or a key file?
Rajesh_Reddy
Contributor
Contributor
Author

Password

manodwhb
Champion II
Champion II

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

Rajesh_Reddy
Contributor
Contributor
Author

yeah I'm able to ping to the SFTP.

Anonymous
Not applicable

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