blob: b50868964649118126b7b7c6adb8f0a6f9d9e066 (
plain)
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
69
70
71
72
|
# === BEGIN: TCWG SSH configuration ===
#
# !!! THIS MUST BE COPIED TO THE START OF YOUR ~/.SSH/CONFIG FILE. !!!
# !!! IF YOU REPORT A PROBLEM WITH SSH, AND THIS CONFIGURATION IS NOT !!!
# !!! AT THE START OF YOUR FILE -- YOU HAVE OBVIOUSLY MISSED THIS VERY !!!
# !!! IMPORTANT NOTE. AS PENANCE, YOU WILL READ THIS NOTE OUT LOUD. !!!
#
Host *.tcwglab people.linaro.org lab.validation.linaro.org
#User @LDAP_USER@
#IdentityFile ~/.ssh/id_rsa
# Proxy connections to custom ssh servers (inside containers) on firewalled
# hosts through "main" ssh server on that host.
# E.g., "ssh -p32768 proxy.dev-01.tcwglab"
Host *proxy.*
ProxyCommand ssh $(echo %h | sed -e "s/proxy\.//") nc -q0 localhost %p
# Access to Cambridge Lab. E.g., ssh dev-01.tcwglab
Host *.tcwglab
ProxyCommand ~/.ssh/ssh-tcwglab-nc.sh -q0 %h %p
# Access to LAVA Lab. E.g., "ssh root@10.7.0.18.lab"
Host *.lab
ProxyCommand ssh lab.validation.linaro.org nc -q0 $(basename %h .lab) %p
Host *.tcwglab *.lab tcwg-d05-01 libgomp-d05 tcwg-thx1-01
# Enable automatic multiplexing.
ControlMaster auto
# Soften up potential problems with killing master connection by using
# ControlPersist (which puts the master connection in background).
# Also ControlPersist has an undocumented feature that it will clean-up
# and replace stale ssh socket from a zombie connection.
ControlPersist 5m
# Put the ssh socket on /tmp. Note that overlayfs can't host sockets,
# so we always arrange /tmp to be on a ext4 or equivalent FS.
ControlPath /tmp/ssh-%u-%r@%h:%p
# Forward authentication agent and keep private keys in one place.
ForwardAgent yes
# Disable checking of host keys for boards behind gateways.
# !!! BE BECAREFUL TO ONLY DO THIS FOR MACHINES BEHIND SSH GATEWAY OR VPN !!!
StrictHostKeyChecking no
# Don't store host keys for one-time containers
UserKnownHostsFile /dev/null
# Don't warn about "adding" host keys to /dev/null
LogLevel FATAL
Host ci.linaro.org
Port 2020
Host git*.linaro.org dev-private-git.linaro.org
User git
Host tcwg-d05-01 libgomp-d05 tcwg-thx1-01 tcwg-sq-*.tcwglab
Port 2022
Host tcwg-d05-01 libgomp-d05
Hostname 147.75.106.138
Host tcwg-thx1-01
Hostname 147.75.77.198
Host tcwg-ex40-01 ex40-01
Hostname ex40-01.tcwglab.linaro.org
Host *
# There is little point in forwarding X11 to machines outside of local network.
ForwardX11 no
# Ping server every 5min to avoid routers dropping connection.
# This matches -o BatchMode=yes setting used in cross-testing (see ABE)
ServerAliveInterval 300
# === END: TCWG SSH configuration ===
|