-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathconfig_sample
More file actions
65 lines (53 loc) · 2.03 KB
/
Copy pathconfig_sample
File metadata and controls
65 lines (53 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#<<<<< SSH Config file managed by sshclick >>>>>
# Additional hosts can be organized in separate file while still appearing in one logical view
Include config_sample_extra
#-------------------------------------------------------------------------------
#@group: network
#@desc: Network devices in my lab
#@info: user='admin' password='password'
#@info: Not really, but for demo it's ok :)
#-------------------------------------------------------------------------------
Host net-switch1
hostname 10.1.1.1
Host net-switch2
hostname 10.1.1.2
Host net-switch3
hostname 10.1.1.3
Host net-*
user admin
#-------------------------------------------------------------------------------
#@group: jumphost
#@desc: Edge-server / SSH bastion
#@info: Used for jump-proxy from intnet to internal lab servers
#-------------------------------------------------------------------------------
#@host: This host can be used as proxyjump to reach LAB servers
Host jumper1
hostname 123.123.123.123
user master
port 1234
#-------------------------------------------------------------------------------
#@group: lab-servers
#@desc: Testing/Support servers
#@info: Some [red]important[/] detail here!
#@info: We can have color markups in descriptions and info lines
#-------------------------------------------------------------------------------
#@host: This server is [red]not[/] reachable directly, only via [green]jumper1[/]
Host lab-serv1
hostname 10.10.0.1
user admin
#@host: This server is [red]not[/] reachable directly, only via [green]jumper1[/]
Host lab-serv2
hostname 10.10.0.2
#@host: This server is [red]not[/] reachable directly, only via [green]lab-serv1[/]
#@host: SSHClick can represent how end-to-end tunnels will be established
Host server-behind-lab
hostname 10.30.0.1
user testuser
port 1234
proxyjump lab-serv1
localforward 7630 127.0.0.1:7630
#@host: This pattern applies to all hosts starting with 'lab-'
#@host: setting 'user' and 'proxyjump' property
Host lab-*
user user123
proxyjump jumper1