Topic " can't open key file on file share"

Author Message
[View user's profile]

Joined: 2016-01-26
Posts: 1
I am trying to use to sftp files to an sftp site. I have a username and password for Amazaon. My private key path is on a file share on my network. I get the following stack trace:

Unable to use key file " \\evtewafsv1\EDI\Keys\SFTP SEND PRIVATE.ppk" (unable to open file)
Using username "AmazonUserName".
Access denied.

Authentication failed.
--- End of inner exception stack trace ---
at WinSCP.SessionLogReader.Read(LogReadFlags flags)
at WinSCP.ElementLogReader.Read(LogReadFlags flags)
at WinSCP.SessionElementLogReader.Read(LogReadFlags flags)
at WinSCP.CustomLogReader.TryWaitForNonEmptyElement(String localName, LogReadFlags flags)
at WinSCP.CustomLogReader.WaitForGroupAndCreateLogReader()
at WinSCP.Session.Open(SessionOptions sessionOptions)

This makes sense since the Amazon credentials won't work on our network. How do I tell the credentials to access the private key file?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
So the process that uses the WinSCP .NET assembly does not have a read access to the share?

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License