From 53013126e1e321331deaf40c4a6dece314be83ff Mon Sep 17 00:00:00 2001 From: Trevor Fitzgerald Date: Fri, 19 Jul 2013 23:00:55 -0400 Subject: [PATCH] add /etc/ssh_config test config file --- tests/{shuttle.json => .shuttle.json} | 0 tests/{ssh_config => .ssh/config} | 0 tests/README.md | 5 +--- tests/etc/ssh_config | 43 +++++++++++++++++++++++++++ 4 files changed, 44 insertions(+), 4 deletions(-) rename tests/{shuttle.json => .shuttle.json} (100%) rename tests/{ssh_config => .ssh/config} (100%) create mode 100644 tests/etc/ssh_config diff --git a/tests/shuttle.json b/tests/.shuttle.json similarity index 100% rename from tests/shuttle.json rename to tests/.shuttle.json diff --git a/tests/ssh_config b/tests/.ssh/config similarity index 100% rename from tests/ssh_config rename to tests/.ssh/config diff --git a/tests/README.md b/tests/README.md index d99848c..5d11634 100644 --- a/tests/README.md +++ b/tests/README.md @@ -1,4 +1 @@ -Sample `.shuttle.json` and `.ssh/config` file for testing functionality of application. - -1. Copy `shuttle.json` to `~/.shuttle.json` -2. Copy `ssh_config` to `~/.ssh/config` +Sample config files for testing various functionalities of the application. diff --git a/tests/etc/ssh_config b/tests/etc/ssh_config new file mode 100644 index 0000000..9aaec17 --- /dev/null +++ b/tests/etc/ssh_config @@ -0,0 +1,43 @@ +# +# A couple of Github accounts +# Prefixed with `.` so they are ignored from the Shuttle menu +# +Host .github.com-user1.global + User user1 + Hostname github.com + IdentityFile ~/.ssh/github-1.key + +Host .github.com-user2.global + User user2 + Hostname github.com + IdentityFile ~/.ssh/github-2.key + +# +# Main menu items +# +Host global-blog.example.com + User username + Hostname blog.example.com + +# +# Grouped menu items +# +Host Global-Group1/web01.example.com + User username + Hostname web01.example.com + +Host Global-Group1/web02.example.com + User username + Hostname web02.example.com + +Host Global-Group1/web03.example.com + User username + Hostname web03.example.com + +Host Global-Group2/mysql01.example.com + User username + Hostname mysql01.example.com + +Host Global-Group2/mysql02.example.com + User username + Hostname mysql02.example.com