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: 
Croix
Creator
Creator

[resolved] tFTPConnection -- Invalid Private Key

Hi,
Our team is using the Talend Big Data Platform 6.2 on Windows 7. When I use the tFTPComponent I get an error that says "tFTPConnection_1 invalid privatekey: [B@80503" when it tries to connect to the remote server. It shows the sFTP options because I clicked the SFTP Support check box.
We do have a id_rsa key in a local drive that it is using.
My question is: is there some kind of special key format that the Talend tFTPConnection? Does it need to be in any special encoding?
The funny thing is that this key works fine when we use sFTP directly to connect, just not when we try to connect using Talend.
More info:
Exception in component tFTPConnection_1
com.jcraft.jsch.JSchException: invalid privatekey: [B@80503
at com.jcraft.jsch.KeyPair.load(KeyPair.java:664)
at com.jcraft.jsch.KeyPair.load(KeyPair.java:561)
at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:40)
at com.jcraft.jsch.JSch.addIdentity(JSch.java:407)
at com.jcraft.jsch.JSch.addIdentity(JSch.java:388)
Thanks!
Croix
Labels (4)
1 Solution

Accepted Solutions
Croix
Creator
Creator
Author

It turns out that we were able to get the sftp to work after generating the key with this command 
ssh-keygen -t rsa
Previously we used a -o switch but that seemed to cause the "invalid private key" in Talend.

View solution in original post

2 Replies
Anonymous
Not applicable

Hi,
We have replied to your another topic: https://community.qlik.com/t5/Design-and-Development/resolved-tFTPComponent-Invalid-Private-Key-Erro.... Could you please stick to one topic so that we can pay individule attention to your issue?
Best regards
Sabrina

Croix
Creator
Creator
Author

It turns out that we were able to get the sftp to work after generating the key with this command 
ssh-keygen -t rsa
Previously we used a -o switch but that seemed to cause the "invalid private key" in Talend.