summaryrefslogtreecommitdiffstats
path: root/ssh
diff options
context:
space:
mode:
Diffstat (limited to 'ssh')
-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