Authentication failure when setting up remote python SSH interpreter from MacOS

I'm using macos and PyCharm 2018.2.5 professional.

By macos terminal, if I connect with the command

    ssh -i p_k.ppk -p 22

everything goes fine (after typed a passphrase) and I'm able to access a remote AWS machine.

If in PyCharm I fill the fields of Project Interpreter -> SSH Interpreter -> New server configuration -> Key pair (OpenSSH or Putty) I instead get the error

    Connection to failed:

    Authentication failure

Does anybody know the solution? Thanks!

1 comment

Do you have a more detailed error message? Or is this everything you see?

Please provide logs so that we could take a closer look:


You can upload the log archive here:

And let us know the file name.


Please sign in to leave a comment.