Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, I was reading the different last posts concerning the reject "invalid privatekey".
using the key pair that has been generated by my collegues I can connect to this sftp using filezilla ... but I can't with Talend. Does it mean that the way the key pair has been generated may influence the result in Talend only ?
regards
Damien
Hello,
The invalid privatekey error points to a private key (.ssh/id_rsa) format that JGit does not work with, on the Studio machine. Talend Studio relies on the JSch library for SSH. This library supports only some private key formats, such as keys in OpenSSL (traditional SSLeay) and PKCS#8 formats. For more information, see JSch - Java Secure Channel.
However, it is possible to convert the private key format into a format supported by JSch using PuTTYgen. For more information, see Change Private Key Format to Use with PuTTY.
Best regards
Sabrina
Bonjour,
I did the conversion using PuTTyGEN to OpenSSH but still have rejects in studio 7.3
as a recap
1.I have generated a pair of public/private RSA SSH2 keys.
2.The public key has been sent to the provider of the sftp service. I am using the private one.
3.Connexion works from filezilla
4.In talend I have a Auth failure.
I followed your instruction.
In puttyGen, I converted my private key :
1.Conversions / Export OpenSSH key. coming back in talend studio I have Auth failure
2.Conversions / Export Open SSH Key (force new file format). Coming back in talend studio I have 'invalid privatekey"
both of these converted keys are accepted in filezila
I am facing similar issue now. Any solution you received for this?
I am facing the same issue as DBLONDEL1643728674 and srota25 my key pair works via fileZilla but not through talend even though we have attempted the conversion both using putty and CLI( in both cases the converted and original work via FileZilla but not talend)