-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig
68 lines (53 loc) · 1.4 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Host kekcc
User mhedges
Hostname ccx.cc.kek.jp
# use control hub to use only one ssh channel for all
# connections, faster, and password only on first connection
ControlMaster auto
ControlPath ~/.ssh/%r@%h:%p.control
ControlPersist 600
# Forward SSH Key Agent, this allows to log back into home
# machines using your local private key
ForwardAgent yes
# No X11 to kekcc
ForwardX11 no
ForwardX11Trusted no
# Use compressoin
compression yes
# Keep connection alive
ServerAliveInterval 60
# Use this to connect to kekcc via dcube
ProxyCommand ssh mhedges@dcube.phys.hawaii.edu -p 2505 -W %h:%p
Host d3
User mhedges
Hostname dcube.phys.hawaii.edu
Port 2505
# X11 forwarding
ForwardX11 yes
ForwardX11Trusted yes
#Use compression
compression yes
Host work
User michael
Hostname dcube-w334-pc1
#
# use control hub to use only one ssh channel for all
# connections, faster, and password only on first connection
ControlMaster auto
ControlPath ~/.ssh/%r@%h:%p.control
ControlPersist 600
# Forward SSH Key Agent, this allows to log back into home
# machines using your local private key
ForwardAgent yes
# No X11 to kekcc
ForwardX11 no
ForwardX11Trusted no
# Use compressoin
compression yes
# Keep connection alive
ServerAliveInterval 60
# Use this to connect to kekcc via dcube
ProxyCommand ssh mhedges@dcube.phys.hawaii.edu -W %h:%p
Host *
AddKeysToAgent yes
UseKeychain yes