Skip to content

Instantly share code, notes, and snippets.

@troyscott
Created August 8, 2013 15:53
Show Gist options
  • Select an option

  • Save troyscott/6185849 to your computer and use it in GitHub Desktop.

Select an option

Save troyscott/6185849 to your computer and use it in GitHub Desktop.
Recursively copy a local folder to an amazon virtual server.
#!/usr/bin/env bash
scp -r -i .keys/mysshkey.pem package ubuntu@amazon_server.com:/home/ubuntu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment