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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Using SFTP with tFTPConnection

Hi,
I am trying to connect to a SFTP site using the "Public key" authentication method.
I receive the following 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 employsure.sftp_0_1.sftp.tFTPConnection_1Process(sftp.java:408)
at employsure.sftp_0_1.sftp.runJobInTOS(sftp.java:814)
at employsure.sftp_0_1.sftp.main(sftp.java:666)
I can successfully connect to this site using the WINSCP tool using the same credentials.
I notice using the WINSCP tool, if I don't set the password property it prompts me for it.

Looking at the generated code for both authentication types (Public Key & Password), it seems Talend does not set the password when using Public Key authentication.

Can you confirm if this is by design? And, if there is way to use both?
Labels (3)
14 Replies
arpiitv
Contributor
Contributor

Hi @David Oxley​ Could you please help what changes you have made in javalet file? facing same issue.

arpiitv
Contributor
Contributor

@Shicong Hong​ @Xiaodi Shi​ @Fred Trebuchet​ @Richard Hall​ Could you guys please help me out. What changes @David Oxley​ made, could you please let us know.

arpiitv
Contributor
Contributor

@Foram Shah​ have you resolved this problem?

 

arpiitv
Contributor
Contributor

@Shicong Hong​ I'm facing similar issue, could you please help me.

Anonymous
Not applicable
Author

Hi @Arpit Verma​ can you explain the precisely what error you are getting and what you are doing (how you have set this component up)? This *may* be a different issue, in which case a new post may be a better route. Lets find out here and possibly take this in a different route when we know what is happening.