summaryrefslogtreecommitdiffstats
path: root/ssh
diff options
context:
space:
mode:
authorMatthew Lemon <chaffinach+git@protonmail.ch>2022-04-16 17:22:56 +0100
committerMatthew Lemon <chaffinach+git@protonmail.ch>2022-04-16 17:22:56 +0100
commitbe04be63ce7202d86931fddee3aaddc94ef2f5ee (patch)
tree9dfff09d600260a33ed72806ef0778f603df478a /ssh
parent5d0ac192722f798dc3fa884cdb74296e4d4e3654 (diff)
the big apr 22 update
Diffstat (limited to '')
-rw-r--r--ssh/config32
1 files changed, 32 insertions, 0 deletions
diff --git a/ssh/config b/ssh/config
new file mode 100644
index 0000000..c9ccc6c
--- /dev/null
+++ b/ssh/config
@@ -0,0 +1,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