Ontola > Other > discussion
| Report

SFTP Keypair is corrupt or has unknown format in PyCharm

I am trying set up SFTP (SSH) connection in PyCharm IDE and got this message:

Keypair 'file' is corrupt or has unknown format.
Only SSH2 keys in OpenSSH format or PuTTY Private Key *.ppk keys are supported.
Error message: The cipher 'aes256-cbc' is required, but it is not available.

I generated the private key using puttygen.exe key generator and it has .ppk file extension. What is wrong with the format of my private key?
Topics: Other

2 Replies

| Report
The key must be in OpenSSH format.
How to convert the key to OpenSSH format:
- load the existing key to PuTTY Key Generator (Load button)
- export it to OpenSSH format (menu Conversions > Export OpenSSH key)
| Report
+9+
 Anonym
No regstration needed to add reply
Insert: Picture