When I try to scp a file to an amazon ec2 instance, the file is not copied and I get the below error. I am able to ssh to the instance with username ec2-user though. What does the scp -t option mean?
☹ scp -i file.pem fileToCopy ec2-user@ip:
> scp -t .
☹ scp -i file.pem fileToCopy ec2-user@ip:/tmp/
> scp -t /tmp/