]> git.siccegge.de Git - dotfiles/ssh.git/blobdiff - config
Make ControlMaster actually work
[dotfiles/ssh.git] / config
diff --git a/config b/config
index 612ce859470b5613bbb549e8b346ca646fddfc45..a57c6002dd2d551c2e9c7a6dd5ba50f31a59e49d 100644 (file)
--- a/config
+++ b/config
@@ -32,11 +32,14 @@ Host *.sieglitzhof.net
 Host *.faust.ninja
        VerifyHostKeyDNS yes
 
-HashKnownHosts no
-ServerAliveInterval 300
-ControlMaster auto
-MACs hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512
-KexAlgorithms diffie-hellman-group-exchange-sha256,curve25519-sha256@libssh.org
-HostKeyAlgorithms ssh-ed25519,ssh-rsa
-FingerprintHash sha256
-Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes256-ctr
+Host *
+       HashKnownHosts no
+       ServerAliveInterval 300
+       ControlMaster auto
+       ControlPersist 30
+       ControlPath ~/.ssh/master/%C
+       MACs hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-512
+       KexAlgorithms diffie-hellman-group-exchange-sha256,curve25519-sha256@libssh.org
+       HostKeyAlgorithms ssh-ed25519,ssh-rsa
+       FingerprintHash sha256
+       Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes256-ctr