-
Notifications
You must be signed in to change notification settings - Fork 2
/
ssh_config
40 lines (31 loc) · 917 Bytes
/
ssh_config
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
# SSH configuration to connect to remote servers via Jump box / Bastion host
Host *
ServerAliveInterval 30
ServerAliveCountMax 120
StrictHostKeyChecking no
#~~~~~~~~~~~~~~~~~ OST PLATFORM ~~~~~~~~~~~~~~~~~~~#
# Testnet servers
Host < Jumpbox Host/IP >
IdentityFile < YOUR KEY FILE >
User <User User Name>
ForwardAgent yes
ControlPath ~/.ssh/cm-%r@%h:%p
ControlMaster auto
ControlPersist 10m
Host 10.49.*
User centos
IdentityFile < INTERNAL KEY FILE >
ProxyCommand ssh <User User Name>@<Jumpbox Host/IP> -W %h:%p
# Mainnet servers
Host <Jumpbox Host/IP>
IdentityFile < YOUR KEY FILE >
User <User User Name>
ForwardAgent yes
ControlPath ~/.ssh/cm-%r@%h:%p
ControlMaster auto
ControlPersist 10m
Host 10.50.*
User centos
IdentityFile < INTERNAL KEY FILE >
ProxyCommand ssh <User User Name>@<Jumpbox Host/IP> -W %h:%p
#~~~~~~~~~~~~~~~~~ OST PLATFORM ~~~~~~~~~~~~~~~~~~~#