I’m trying to send a .zip file over to my (Linux AMI) EC2 instance via PuTTY, but I keep encountering error after error. So far, I’ve managed to clear other errors (trying to transfer it to ec2-user instead of root, wrong ip address, etc) but now I’m receiving a new error:
“Unable to initialise SFTP: could not connect”
I expected the files to transfer successfully, but an SFTP error was thrown in my face instead. As far as I’m aware, all the necessary ports should be open (22 & 443), the private key is correct… I’ve had no problems connecting to the instance in general, either, it’s transferring files that’s the only problem.
I can’t figure out what the problem is. Please advise.
unbinary0000 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.