-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathssh-config
45 lines (39 loc) · 1021 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
41
42
43
44
45
#
# General defaults are at end of file
#
#
#
#
Host SOME-HOST
ForwardX11 yes
ForwardAgent yes
HostName 10.0.93.168
#
# example of using proxy jump. ssh to HOST, but jump through PROXY
#
Host HOST
User USER
ProxyJump PROXY1,PROXY2
#
# ----------------------------------------------
# General defaults.
#
# Must be at end since 1st obtained value is used.
# ----------------------------------------------
#
Host * # apply all of these opts to all hosts
IdentityFile ~/.ssh/id_ed25519
CheckHostIP no
ForwardAgent no
ForwardX11 yes
GSSAPIAuthentication no
GSSAPIKeyExchange no
HostbasedAuthentication no
NoHostAuthenticationForLocalhost yes
PubkeyAuthentication yes
PreferredAuthentications publickey,keyboard-interactive,password
Protocol 2
#ServerAliveInterval 37
#ServerAliveCountMax 3
#TCPKeepAlive yes
StrictHostKeyChecking no