]> git.siccegge.de Git - dotfiles/ssh.git/blobdiff - config
Prefer Curve25519 key exchange
[dotfiles/ssh.git] / config
diff --git a/config b/config
index 97334a776358f50392fd4f372064a0ee907b7895..0e21240dca36120b79cf60230c2b5c89d63057b8 100644 (file)
--- a/config
+++ b/config
@@ -1,3 +1,5 @@
+PermitLocalCommand no
+
 Host git.siccegge.de
        User git
        VerifyHostKeyDNS yes
@@ -30,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 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