{"_id":"573ed4bea233380e005db157","__v":0,"category":{"_id":"573ed4bea233380e005db14f","__v":0,"version":"573ed4bea233380e005db14d","project":"56b86cc286d2b0190070bcda","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-02-08T11:20:51.134Z","from_sync":false,"order":1,"slug":"tasks","title":"Tasks"},"githubsync":"","user":"56b86c990094520d006b3c33","parentDoc":null,"project":"56b86cc286d2b0190070bcda","version":{"_id":"573ed4bea233380e005db14d","__v":2,"project":"56b86cc286d2b0190070bcda","createdAt":"2016-05-20T09:11:26.847Z","releaseDate":"2016-05-20T09:11:26.847Z","categories":["573ed4bea233380e005db14e","573ed4bea233380e005db14f","573ed4bea233380e005db150","578bcf36bb7d810e00e01c05"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"master","version_clean":"0.3.0-0.4","version":"0.3-0.4"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-05-09T14:11:30.595Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":7,"body":"Initializes a SSH agent on the (remote) host and adds the configured private keys. This task is useful when you need to authenticate to clone your project repository.\n[block:callout]\n{\n  \"type\": \"danger\",\n  \"body\": \"The SSH private keys currently need to be added to your accompli.json unencrypted. When you do so, **do not** add the configuration to a public repository.\\n\\nAccompli will provide features to encrypt credentials in a future release. See issue [#11](https://github.com/accompli/accompli/issues/11).\"\n}\n[/block]\n# Configuration options\n\n| Name | Type | Default value | Description |\n|------|------|---------------|-------------|\n| keys | string[] |  | An array with private keys to be added to the SSH agent. |\n\n# Event flow\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/4Fl6OTXJSfmfCIF68eAG_SSHAgentTask.png\",\n        \"SSHAgentTask.png\",\n        \"0\",\n        \"0\",\n        \"#cacaca\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"sshagenttask","type":"basic","title":"SSHAgentTask"}
Initializes a SSH agent on the (remote) host and adds the configured private keys. This task is useful when you need to authenticate to clone your project repository. [block:callout] { "type": "danger", "body": "The SSH private keys currently need to be added to your accompli.json unencrypted. When you do so, **do not** add the configuration to a public repository.\n\nAccompli will provide features to encrypt credentials in a future release. See issue [#11](https://github.com/accompli/accompli/issues/11)." } [/block] # Configuration options | Name | Type | Default value | Description | |------|------|---------------|-------------| | keys | string[] | | An array with private keys to be added to the SSH agent. | # Event flow [block:image] { "images": [ { "image": [ "https://files.readme.io/4Fl6OTXJSfmfCIF68eAG_SSHAgentTask.png", "SSHAgentTask.png", "0", "0", "#cacaca", "" ] } ] } [/block]