aboutsummaryrefslogtreecommitdiff
path: root/files/.ssh/config
blob: b474b06ef286d4da6e3c9028cdb22715d91001a0 (plain) (blame)
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
Include ~/.ssh/*.conf

HashKnownHosts no
# Enable automatic connection multiplexing by default.
ControlMaster auto
ControlPath ~/.ssh/.control.%C
ControlPersist 60m
ServerAliveInterval 60
TCPKeepAlive yes
Compression yes
ExitOnForwardFailure yes
# http://petereisentraut.blogspot.com/2012/04/setting-time-zone-on-remote-ssh-hosts.html
SendEnv LANG LC_* TZ

# Automatically add new host keys to the known_hosts file
StrictHostKeyChecking accept-new

Host */*
  ProxyCommand ssh $(dirname %h) -W $(basename %h):%p
  ProxyJump "$(dirname %h)"

Host 192.168.*.*
    StrictHostKeyChecking no
    UserKnownHostsFile /dev/null
    ForwardAgent yes

Host riga.bobov.name
    CheckHostIp no