# Copies file from the server to your local machine
:'
scp -i {key} {user}@{ip}:{remote-file} {local-folder}
'
scp -i /Path/To/Key.pem ec2-user@255.255.255.255:/var/www/remote/file.txt /Local/Folder/Path
Incorrect permissions on remote server can stop uploads. `root` perm on an upload folder will block the `ec2-user` upload. http://www.hypexr.org/linux_scp_help.php
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.