From b487984ecc61c6229cf92550030745c192fd3d0b Mon Sep 17 00:00:00 2001 From: Arnold Sommerfeld Date: Wed, 17 May 2023 18:44:48 +0100 Subject: first commit --- home/.ssh/config | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 home/.ssh/config (limited to 'home/.ssh/config') 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 ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ssh-rsa,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 + +KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256 +# MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,umac-128@openssh.com +Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,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 -- cgit v1.2.3-70-g09d2