Topic "File does not exist or does not contain private key ..."

Author Message
[View user's profile]

Joined: 2009-10-29
Posts: 3
Location: SSH Land
When using FTPeS this type of warning appears

"File './keyfiledir/keyfile.ppk' does not exist or it does not contain private key in known format."

The addressed file was deleted recently (using WINSCP stored session GUI) but so too was the stored session which linked to it.

Why is WinSCP looking for a PPK file which is not linked to the FTPeS session info and is not linked to any stored session?

How to make WinSCP forget the deleted PPK file?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
It has to be referenced in the stored session you are trying to open. Please double-check.

Click Edit instead of Login for the stored session you are getting error with.
Then check the [i]Private key file[i] box:
Martin Prikryl

You can post new topics in this forum


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