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

Forteen 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
Don't forget to give kudos/accept the solution when a replay is helpful.
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.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download