]> git.siccegge.de Git - dotfiles/ssh.git/blobdiff - config
Prefer Curve25519 key exchange
[dotfiles/ssh.git] / config
diff --git a/config b/config
index 84bfc50b8a0c23177c6c5721d6e903a01f5f6c6e..0e21240dca36120b79cf60230c2b5c89d63057b8 100644 (file)
--- a/config
+++ b/config
@@ -36,8 +36,10 @@ 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
+       KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
        HostKeyAlgorithms ssh-ed25519,ssh-rsa
        FingerprintHash sha256
        Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes256-ctr