Skip to content

Instantly share code, notes, and snippets.

@mingderwang
Created April 17, 2014 08:14
Show Gist options
  • Save mingderwang/10963621 to your computer and use it in GitHub Desktop.
Save mingderwang/10963621 to your computer and use it in GitHub Desktop.
install s3cmd on mac os x
download tarball (http://s3tools.org/download)
$ sudo python setup.py install
$ s3cmd --configure
Enter new values or accept defaults in brackets with Enter.
Refer to user manual for detailed description of all options.
Access key and Secret key are your identifiers for Amazon S3
Access Key: AKIAJF2FTOVIKxxx
Secret Key: RcxCU6j9frycCK7uXFIneWZ/z5y+Tgp9Cxxxx
Encryption password is used to protect your files from reading
by unauthorized persons while in transfer to S3
Encryption password:
Path to GPG program [/usr/local/bin/gpg]:
When using secure HTTPS protocol all communication with Amazon S3
servers is protected from 3rd party eavesdropping. This method is
slower than plain HTTP and can't be used if you're behind a proxy
Use HTTPS protocol [No]:
On some networks all internet access must go through a HTTP proxy.
Try setting it here if you can't conect to S3 directly
HTTP Proxy server name:
New settings:
Access Key: AKIAJF2FTOVxxxxx
Secret Key: RcxCU6j9frycCK7uXFIneWZ/z5y+Txxxx
Encryption password:
Path to GPG program: /usr/local/bin/gpg
Use HTTPS protocol: False
HTTP Proxy server name:
HTTP Proxy server port: 0
Test access with supplied credentials? [Y/n] Y
Please wait, attempting to list all buckets...
Success. Your access key and secret key worked fine :-)
Now verifying that encryption works...
Not configured. Never mind.
Save settings? [y/N] y
Configuration saved to '/Users/ming/.s3cfg'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment