Shuttle Manage the SSH Config

Shuttle Manage the SSH Config

Install that tool on MAC
Open the settings, the settings file named .shuttle.json

It will be similar to this:
{
  "_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": [
    {
      "VirtualBox": [
        {
            "cmd": "ssh carl@ubuntu-master",
            "inTerminal": "tab",
            "name": "ubuntu-master",
            "theme": "homebrew",
            "title": "ubuntu-master"
        },
        {
            "cmd": "ssh carl@centos-dev1",
            "inTerminal": "new",
            "name": "centos-dev1",
            "theme": "homebrew",
            "title": "centos-dev1"
        }
      ]



References:
https://github.com/fitztrev/shuttle
https://github.com/fitztrev/shuttle



猜你喜欢

转载自sillycat.iteye.com/blog/2422232