summaryrefslogtreecommitdiffstats
path: root/ssh/config
blob: 7c1a76e0ffb391b749057af7e3c61341a5f66363 (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
33
34
35
36
37
38
39
40
41
42
Host shanvo
    HostName 100.64.2.3
    User lemon
    Port 22

Host devserver
    HostName 100.64.1.3
    User lemon
    Port 22

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