Skip to content

Instantly share code, notes, and snippets.

@davidchua
Created March 15, 2013 07:20
Show Gist options
  • Save davidchua/5168063 to your computer and use it in GitHub Desktop.
Save davidchua/5168063 to your computer and use it in GitHub Desktop.
Modify ~/.s3cfg after installing s3cmd and running s3cmd --configure. This solves Errno 32: Broken Pipe error when trying to push a file to a non-US S3 bucket.
# in ~/.s3cfg
# modify host_base and host_bucket to the proper endpoints
host_base = s3-ap-southeast-1.amazonaws.com
host_bucket = %(bucket)s.s3-ap-southeast-1.amazonaws.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment