Skip to content

Instantly share code, notes, and snippets.

@indapublic
Created November 14, 2015 05:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save indapublic/adae4acb65893f35722d to your computer and use it in GitHub Desktop.
Save indapublic/adae4acb65893f35722d to your computer and use it in GitHub Desktop.
{
"_comments": [
"Valid terminals include: 'Terminal.app' or 'iTerm'",
"In the editor value change 'default' to 'nano', 'vi', or another terminal based editor.",
"Hosts will also be read from your ~/.ssh/config or /etc/ssh_config file, if available",
"For more information on how to configure, please see http://fitztrev.github.io/shuttle/"
],
"editor": "default",
"launch_at_login": false,
"terminal": "iTerm",
"iTerm_version": "nightly",
"default_theme": "Default",
"open_in": "new",
"show_ssh_config_hosts": false,
"ssh_config_ignore_hosts": [ ],
"ssh_config_ignore_keywords": [ ],
"hosts": [
{
"cmd": "ps aux | grep defaults",
"name": "Grep - Opens in Default-window-theme-title"
},
{
"Spouses Servers": [
{
"cmd": "echo '—->WARNING<-- Running a command in this active terminal! Are you sure? y/n'; read sure; if [ $sure == y ]; then echo running command... && tail -f /var/log/current; else echo exiting...; fi",
"inTerminal": "current",
"name": "Logs - Opens in the current active terminal window"
},
{
"Jane’s Servers": [
{
"cmd": "ssh username@blog2.example.com",
"inTerminal": "tab",
"name": "SSH blog - Opens in Tab of active window",
"theme": "basic",
"title": "title of tab"
},
{
"cmd": "ssh username@shop1.example.com",
"inTerminal": "new",
"name": "SSH Shop - Opens in New Window",
"theme": "basic",
"title": "title of new window"
}
]
}
]
},
{
"Vagrant": [
{
"cmd": "ssh vagrant@127.0.0.1 -p 2222 -i ~/.vagrant.d/insecure_private_key",
"name": "Vagrant - Opens in default-window-theme-title"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment