summaryrefslogtreecommitdiffstats
path: root/ssh/config
blob: c9ccc6c0a99eb50759d0dc2ab63cc39bd17e420b (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
29
30
31
32
Host bobbins
    HostName 16693433.xyz
    User lemon
    Port 2222

Host tamla
    HostName 178.62.82.94
    User lemon
    Port 2222

Host joannalemon.com
    HostName joannalemon.com
    User lemon
    Port 2222
# don't drop connection if network is down temporarily (eg, suspend)

# from www.c0ffee.net/blog/openbsd-on-a-laptop/#x11

TCPKeepAlive no
# but do send ssh keepalives every minute to keep firewalls happy
ServerAliveInterval 60
ServerAliveCountMax 10
# keep connections open for 4 hours, even after logging out
ControlPersist 2h
ControlMaster auto
ControlPath ~/.ssh/sockets/socket-%r@%h:%p
# allow host key verification via SSHFP records
VerifyHostKeyDNS yes
# cwm's ssh menu does not work with host hashing enabled
HashKnownHosts no
# automatically add ssh keys to running ssh agent
AddKeysToAgent yes