SyntaxFix
Write A Post
Hire A Developer
Questions
I had exactly same problem, my solution was to
scp -i /path/pem -r /path/file/ ec2-user@public aws dns name: (leave it blank here)
scp -i /path/pem -r /path/file/ ec2-user@public aws dns name:
once you done this part, get into ssh server and mv file to desired location