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?
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?
Answers
Discussion
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)