Skip to content

Instantly share code, notes, and snippets.

@ziadsawalha
Created February 24, 2014 21:30
Show Gist options
  • Save ziadsawalha/9197587 to your computer and use it in GitHub Desktop.
Save ziadsawalha/9197587 to your computer and use it in GitHub Desktop.
{
"credentials": [
{
//Used for all hosts not explicitely called out below
"username": "root",
"private-key": "----BEGIN ... KEY----",
},
{
//Used for all hosts not explicitely called out below
"password": "MyFoo", // username=root implied for linux, administrator for windows)
},
{
//Used for all hosts listed in hosts (defaults won't apply)
"username": "root",
"private-key": "----BEGIN ... KEY----",
"hosts": [
"web01.rax.io",
"10.2.3.4"
]
}
],
// Shortcuts
"host-private-key": "", //Assumes root, used as default. Shortcut
"host-username": "" //Assumes root, used as default. Shortcut
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment