waynedunkley
9/8/2015 - 2:32 AM

Download File from Server using SCP

Download File from Server using SCP

scp -i ~/.ssh/fitness-first.pem ubuntu@ec2-54-153-143-39.ap-southeast-2.compute.amazonaws.com:/var/www/html/fitness-first-blog/www/wp-content/fitnessfirstblog.sql ./

scp -i [key_file.pem] username@remotehost.com:/remote/dir/filename.txt /local/dir