1
votes

Notepad++ gives me this error, while I'm trying to connect to using sftp to my aws ec2

[NppFTP] Everything initialized
Connecting
[SFTP] Host key accepted
[SFTP] Error during authentication: Invalid private key file.
Unable to connect

1

1 Answers

3
votes

My mistake was that I was using the certificate with extension *.ppk that I use with putty. The problem was solved when I changed it for the *.pem extension. Hope my solution helps you.