TritonDataCenter / python-manta

Python SDK for Manta (community maintained)
MIT License
25 stars 18 forks source link

Added ssh-agent to docs #11

Closed deserat closed 10 years ago

deserat commented 11 years ago

Manta requires keys to be loaded into ssh-agent but that wasn't documented. Now it is.

Plus all the changes from the last pull request.

trentm commented 10 years ago

ssh-agent setup isn't required. The CLISigner (used by the mantash CLI and now the "examples/*.py") will look for an SSH key as follows:

  1. look for the MANTA_KEY_ID in ssh-agent; or
  2. look for "~/.ssh/FOO.pub" for one matching the given MANTA_KEY_ID and then load the corresponding "~/.ssh/FOO" private key, if it exists; or
  3. (this differs from node-manta) MANTA_KEY_ID can be a path to a private key.

Pretty much all the other changes here have been merged (a while back). Thanks! This allows using a key that is neither in the agent nor in "~/.ssh".