Topic "Public Key for PPK file"

Author Message
lynzepiper
[View user's profile]

Joined: 2012-08-06
Posts: 32
Location: London
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
---------------------------
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Please read
https://winscp.net/eng/docs/faq_passphrase
https://winscp.net/eng/docs/library_sessionoptions#properties
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License