-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.ssh.config.example
More file actions
36 lines (31 loc) · 903 Bytes
/
.ssh.config.example
File metadata and controls
36 lines (31 loc) · 903 Bytes
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
# copy to ~/.ssh/config
Host github.com
ControlMaster auto
ControlPersist 120
Host *
# Always use SSH2.
Protocol 2
# Use a shared channel for all sessions to the same host,
# instead of always opening a new one. This leads to much
# quicker connection times.
ControlMaster auto
# You need to create the dir ~/.ssh/control if it doesn't exists
ControlPath ~/.ssh/control/%r@%h:%p
ControlPersist 1800
Compression yes
TCPKeepAlive yes
ServerAliveInterval 20
ServerAliveCountMax 10
# Custom stuff
Host *.customdomain*.com
User devcfgc
IdentityFile ~/.ssh/id_rsa
StrictHostKeyChecking no
Host 10.*.*.*
User devcfgc
IdentityFile ~/.ssh/id_rsa
StrictHostKeyChecking no
Host 172.*.*.*
User devcfgc
IdentityFile ~/.ssh/id_rsa
StrictHostKeyChecking no