Debian Codegraph @

testdata/config1

raw
1 Host localhost 127.0.0.1 # A comment at the end of a host line.
2 NoHostAuthenticationForLocalhost yes
3
4 # A comment
5 # A comment with leading spaces.
6
7 Host wap
8 User root
9 KexAlgorithms diffie-hellman-group1-sha1
10
11 Host [some stuff behind a NAT]
12 Compression yes
13 ProxyCommand ssh -qW %h:%p [NATrouter]
14
15 Host wopr # there are 2 proxies available for this one...
16 User root
17 ProxyCommand sh -c "ssh proxy1 -qW %h:22 || ssh proxy2 -qW %h:22"
18
19 Host dhcp-??
20 UserKnownHostsFile /dev/null
21 StrictHostKeyChecking no
22 User root
23
24 Host [my boxes] [*.mydomain]
25 ForwardAgent yes
26 ForwardX11 yes
27 ForwardX11Trusted yes
28
29 Host *
30 #ControlMaster auto
31 #ControlPath /tmp/ssh-master-%C
32 #ControlPath /tmp/ssh-%u-%r@%h:%p
33 #ControlPersist yes
34 ForwardX11Timeout 52w
35 XAuthLocation /usr/bin/xauth
36 SendEnv LANG LC_*
37 HostKeyAlgorithms ssh-ed25519,ssh-rsa
38 AddressFamily inet
39 #UpdateHostKeys ask