Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

lynzepiper

Public Key for PPK file

I'm trying to put together a C# .net 3.5 SSIS custom control flow task which uses SFTP. The only problem I'm having to trying to find a way to provide the ppk file with a Public Key. I've looked into the SessionOptions class and I can't find anything at all. Is this possible at all?

I'm receiving the following exception when I attempt to test the connection.
---------------------------
Connection UnSuccessful
---------------------------
WinSCP.SessionRemoteException: Authentication log (see session log for details):
Using username "lynze_sftp".
Authenticating with public key "LP_SFTP_TESTING_KEY_20120622".


Authentication failed.
---------------------------
OK
---------------------------