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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] SFTP connection

Hi all,
When i try to connect to ftp server without SFTP and port 21 it connects
 successfully but when i try to do it with SFTP with port 22 it gives me error that connection timeout.
what could be the reason ????
I am able to connect to server via command line and WINSCP tool.
Thanks,
Pankaj
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

context.SFTP_PORT); session_tFTPConnection_1.setConfig("PreferredAuthentications","publickey,keyboard-interactive,password"


It worked .
Thanks Alot.
-I tried one more solution,
I downloaded latest jsch.jar and renamed it to jsch-0.1.51 and put it in talend_directory\configuration\lib\java
this solution also worked for me.
Thanks,
Pankaj

View solution in original post

4 Replies
Anonymous
Not applicable
Author

Make sure you have SFTP support checked in your connection component:

0683p000009MDAQ.png
Anonymous
Not applicable
Author

yes.I have SFTP support checked in your connection component.
it giving me error while uploading screenshot.Actually my connection worked few times ,now it just go on waiting.
Thanks,
Pankaj
Anonymous
Not applicable
Author

Have you updated jsch.jar? there is an issue with the latest version of this jar and the connect component.
If you have you can fix by injecting this code into an existing SFTP connection component in the Port text box like this. Just make sure to get the correct name of the tFTPConnection component--
context.SFTP_PORT); session_tFTPConnection_1.setConfig("PreferredAuthentications","publickey,keyboard-interactive,password"
Anonymous
Not applicable
Author

context.SFTP_PORT); session_tFTPConnection_1.setConfig("PreferredAuthentications","publickey,keyboard-interactive,password"


It worked .
Thanks Alot.
-I tried one more solution,
I downloaded latest jsch.jar and renamed it to jsch-0.1.51 and put it in talend_directory\configuration\lib\java
this solution also worked for me.
Thanks,
Pankaj