]> Sergey Matveev's repositories - dotfiles.git/commitdiff
OpenSSH configuration
authorSergey Matveev <stargrave@stargrave.org>
Wed, 2 Nov 2022 11:27:17 +0000 (14:27 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 2 Nov 2022 11:27:17 +0000 (14:27 +0300)
ssh/.ssh-config [new file with mode: 0644]

diff --git a/ssh/.ssh-config b/ssh/.ssh-config
new file mode 100644 (file)
index 0000000..2b6d9cc
--- /dev/null
@@ -0,0 +1,14 @@
+Protocol 2
+IdentitiesOnly yes
+Compression no
+UpdateHostKeys ask
+VerifyHostKeyDNS ask
+
+Host *
+    HostKeyAlgorithms ssh-ed25519-cert-v01@openssh.com,ssh-ed25519
+    KexAlgorithms curve25519-sha256@libssh.org,curve25519-sha256,sntrup761x25519-sha512@openssh.com
+    Ciphers chacha20-poly1305@openssh.com,aes256-ctr,aes128-ctr
+    MACs umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128@openssh.com,hmac-sha2-512,hmac-sha2-256
+    ControlMaster auto
+    ControlPath ~/.ssh/sockets/%r@%h-%p
+    ControlPersist 60