In your case, the user root
won't have any issues. But in certain cases where you're required to login under SSH as a different user, make sure the directory you're scp
-ing has adequate permissions for the user you're SSH-ing.
↧
Answer by Shawn for scp (secure copy) to ec2 instance without password
↧