(extracted from https://github.com/benzenwen/win-manta)
-
Download and Install Node.js as all of the client tools are built on Node.js. http://nodejs.org/download/
-
Run this in a Powershell prompt. It installs the Node Package called "manta": npm install -g manta
-
Create a Joyent Cloud account at http://joyent.com
-
Create a private / public ssh key pair using the Joyent web console (you should be prompted as you sign up to create and download a key. Note that some versions of IE may not work properly here).
-
Put the private key in your Windows home directory in a folder called ".ssh", for example "/User/benwen/.ssh/ (the key file should be called simply "id_rsa" in that directory.
-
Do the same with the public key, except it's named "id_rsa.pub". Note that DSA keys don't work yet with Manta (as of 2013-Oct).
-
Create these three environment variables:
$env:MANTA_USER = "benwen20131018" $env:MANTA_URL = "https://us-east.manta.joyent.com" $env:MANTA_KEY_ID = "11:de:e4:68:f1:b9:3c:1b:9a:9d:01:f5:8c:eb:b7:7c"
(substituting your Joyent username for
benwen20131018
, and your key fingerprint (the11:de:e4...
) which can be found in the Joyent web console in the same place. Click on the generated key to expand the field to show both the fingerprint and public key) -
Run this command to test that Manta is working: "mls". If you don't get an error message you're good to go. Visit: http://apidocs.joyent.com/manta for more information.
-
To make -m MD5 work, install OpenSSL http://slproweb.com/download/Win64OpenSSL-1_0_1g.exe and add the directory for openssl.exe to your PATH