Error mesage "invaid privatekey". Passphrase tested in psftp

Mar 11, 2013 at 2:01 PM
Hello

First let me thank you for developing the componnt! I am able to login to the remote sftp site using username and passord. I do however need to stpe up the security by using a private and public key pair. I have created the key pair using puttygen.

I can open the private key using puttygen but I can not connect using the key pair.
The error message I recieve is: [SSISSFTTask] Error: Error : invaid privatekey: C:\FTP\SSHKey\PrivateSSHKeyTest.ppk

I pass the exact same password (copy & pasted from SSIS to putygen) in puttygen and in SSIS.

best regards
/Taher
Coordinator
Mar 11, 2013 at 3:18 PM
Hi,

Is your key an OpenSSH compatible key?

Userauth: password, private key (RSA, DSA) - only OpenSSH version is supported

Thank you,
Cosmin
Mar 11, 2013 at 3:31 PM
Hi

It seems that I was not. thank you very much for pointig the error out.

I have now used puttygen to generate an OpenSSH private key and from that saved a new public key. I will send it to the person managing the sftp server.

Best regards
/Taher