In the following code:
- {user} is the user for the host. In Amazon EC2, this can be "ec2-user" or "ubuntu "
- {domain} is the ec2 address. You can find this by logging into the web ec2 admin panel
- {remote_path} is the path to the file that you want to copy
- {local_path} is the save location in your local drive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scp -i {key} {user}@{domain}:{remote_path} {local_path} |
No comments:
Post a Comment