Public Key for PPK file

Advertisement

lynzepiper
Joined:
Posts:
32
Location:
London

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
---------------------------

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum