aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.ssh/config
diff options
context:
space:
mode:
authorLibravatar Arnold Sommerfeld <[email protected]>2023-05-17 18:44:48 +0100
committerLibravatar Arnold Sommerfeld <[email protected]>2023-10-18 11:16:43 +0100
commitb487984ecc61c6229cf92550030745c192fd3d0b (patch)
tree937e598c941fc1172467aeeed8ef51cbfceaca62 /home/.ssh/config
downloaddotfiles-b487984ecc61c6229cf92550030745c192fd3d0b.tar.gz
dotfiles-b487984ecc61c6229cf92550030745c192fd3d0b.tar.bz2
dotfiles-b487984ecc61c6229cf92550030745c192fd3d0b.zip
first commit
Diffstat (limited to 'home/.ssh/config')
-rw-r--r--home/.ssh/config31
1 files changed, 31 insertions, 0 deletions
diff --git a/home/.ssh/config b/home/.ssh/config
new file mode 100644
index 0000000..cff0eae
--- /dev/null
+++ b/home/.ssh/config
@@ -0,0 +1,31 @@
+# Ensure KnownHosts are unreadable if leaked - it is otherwise easier to know which hosts your keys have access to.
+HashKnownHosts yes
+# Host keys the client accepts - order here is honored by OpenSSH
+HostKeyAlgorithms [email protected],[email protected],ssh-ed25519,ssh-rsa,[email protected],[email protected],[email protected],ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256
+
+KexAlgorithms [email protected],ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256
+Ciphers [email protected],[email protected],[email protected],aes256-ctr,aes192-ctr,aes128-ctr
+
+Compression no
+ControlMaster auto
+ControlPersist 10
+# ControlPath ~/.ssh/sockets/socket-%r@%h:%p
+AddressFamily inet
+ServerAliveInterval 120
+
+Match host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye"
+
+IdentityFile ~/.ssh/nym.pub
+IdentitiesOnly yes
+
+Host personal
+ Hostname github.com
+ IdentityFile ~/.ssh/personal.pub
+
+Host work
+ Hostname github.com
+ IdentityFile ~/.ssh/work.pub
+
+Host git.strisemarx.com
+ Hostname mandibles.wg