Environment:Remote: AWS - RHEL 7.2Local: Ubuntu 16.04I SSH into the AWS box directly using a .pem file for authentication, something along the lines of:ssh -i /home/<user>/<path>/<serverkey>.pem ec2-user@ec2-<awsserver>.us-west-2.compute.amazonaws.comWhat I want to do is simply download a file not owned by the root user, but by another user so the usual scp magic does not readily work.Any suggestions?
How to download a file from aws server using SSH?
ubuntu;ssh;rhel;amazon ec2;aws