Skip to content

Commit

Permalink
add /etc/ssh_config test config file
Browse files Browse the repository at this point in the history
  • Loading branch information
fitztrev committed Jul 20, 2013
1 parent 5788786 commit 5301312
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
5 changes: 1 addition & 4 deletions tests/README.md
Original file line number Diff line number Diff line change
@@ -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.
43 changes: 43 additions & 0 deletions tests/etc/ssh_config
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5301312

Please sign in to comment.