官网地址:http://fitztrev.github.io/shuttle/

github 地址:https://github.com/fitztrev/shuttle

how-shuttle-works.gif

配置文件: ~/.shuttle.json

实例:

{
  "_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": "Terminal.app",
  "iTerm_version": "nightly",
  "default_theme": "Homebrew",
  "open_in": "new",  
  "show_ssh_config_hosts": false,
  "ssh_config_ignore_hosts": [  ],
  "ssh_config_ignore_keywords": [  ],
  "hosts": [
      {
        "testarray":[
          {"cmd": "ssh -i ~/id_rsa -o ServerAliveInterval=60 test@47.68.190.143","inTerminal": "tab","name": "test1","theme": "homebrew","title": "title of tab"},
          {"cmd": "ssh -o ServerAliveInterval=60 test2@47.96.117.121","inTerminal": "tab","name": "test2","theme": "homebrew","title": "test2"},
        ]
      },
      {
        "cmd": "ssh -o ServerAliveInterval=60 test@192.168.1.7",
        "inTerminal": "tab",
        "name": "家中G470",
        "theme": "homebrew",
        "title": "家中G470"
      },
      { "cmd": "ssh -o ServerAliveInterval=60 test@192.168.1.223", "inTerminal": "tab", "name": "桌下服务器", "theme": "homebrew", "title": "zhuoxia" },
      { "cmd": "ssh -i '~/xinjiapo.pem' ubuntu@ec2.ap-southeast-1.compute.amazonaws.com", "inTerminal": "tab", "name": "test", "theme":"homebrew", "title": "test" }
      

  ]
}