I am attempting to transfer files to my ec2 instance using pscp on windows. I've already connected to the instance with ssh via putty. However, pscp is unable to open the ppk file used to authenticate. I checked the permissions of the ppk file and ensured that the path is correct. Why can't I connect?
Here is the command I have been running:
pscp -i C:Desktop/xxx.ppk ../some-filename ec2-user@:/home/ec2-user/some-filename
I am receiving this error:
Unable to use key file "C:Desktopxxx.ppk" (unable to open file) Fatal: Disconnected: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)