aboutsummaryrefslogtreecommitdiff
path: root/tcwg-buildslave/.ssh/config
blob: c9e6fa1067beb2e3fa33ba2c02591de1da597f5e (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
# === 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 *.aus-colo people.linaro.org aus-colo.linaro.org lab.validation.linaro.org
 #User @LDAP_USER@
 #IdentityFile ~/.ssh/id_rsa

# Access to Austin Colo.  E.g., "ssh r1-a7.aus-colo"
Host *.aus-colo
 ProxyCommand ssh -Snone aus-colo.linaro.org nc -q0 %h %p

# Access to LAVA Lab.  E.g., "ssh root@10.7.0.18.lab"
Host *.lab
 ProxyCommand ssh -Snone lab.validation.linaro.org nc -q0 $(basename %h .lab) %p

Host *.tcwglab *.aus-colo *.lab
 # 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-%C
 # There is little point in forwarding X11 to machines outside of local network.
 ForwardX11 no
 # Forward authentication agent and keep private keys in one place.
 ForwardAgent yes
 # Ping server every 5min to avoid routers dropping connection.
 # This matches -o BatchMode=yes setting used in cross-testing (see ABE)
 ServerAliveInterval 300
 # 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 git.linaro.org dev-private-git.linaro.org
 User git
# === END: TCWG SSH configuration ===