Skip to content

Commit 5301312

Browse files
committed
add /etc/ssh_config test config file
1 parent 5788786 commit 5301312

File tree

4 files changed

+44
-4
lines changed

4 files changed

+44
-4
lines changed
File renamed without changes.
File renamed without changes.

tests/README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
Sample `.shuttle.json` and `.ssh/config` file for testing functionality of application.
2-
3-
1. Copy `shuttle.json` to `~/.shuttle.json`
4-
2. Copy `ssh_config` to `~/.ssh/config`
1+
Sample config files for testing various functionalities of the application.

tests/etc/ssh_config

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
#
2+
# A couple of Github accounts
3+
# Prefixed with `.` so they are ignored from the Shuttle menu
4+
#
5+
Host .github.com-user1.global
6+
User user1
7+
Hostname github.com
8+
IdentityFile ~/.ssh/github-1.key
9+
10+
Host .github.com-user2.global
11+
User user2
12+
Hostname github.com
13+
IdentityFile ~/.ssh/github-2.key
14+
15+
#
16+
# Main menu items
17+
#
18+
Host global-blog.example.com
19+
User username
20+
Hostname blog.example.com
21+
22+
#
23+
# Grouped menu items
24+
#
25+
Host Global-Group1/web01.example.com
26+
User username
27+
Hostname web01.example.com
28+
29+
Host Global-Group1/web02.example.com
30+
User username
31+
Hostname web02.example.com
32+
33+
Host Global-Group1/web03.example.com
34+
User username
35+
Hostname web03.example.com
36+
37+
Host Global-Group2/mysql01.example.com
38+
User username
39+
Hostname mysql01.example.com
40+
41+
Host Global-Group2/mysql02.example.com
42+
User username
43+
Hostname mysql02.example.com

0 commit comments

Comments
 (0)