From f5d66ee6b8553a085813cfb43ce9c2e84bc8ef99 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Thu, 16 Dec 2021 10:18:22 -0500 Subject: more ssh config finangling --- private_dot_ssh/config | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'private_dot_ssh/config') diff --git a/private_dot_ssh/config b/private_dot_ssh/config index 7889e90..a9ef846 100644 --- a/private_dot_ssh/config +++ b/private_dot_ssh/config @@ -38,12 +38,14 @@ Host puc people.ubuntu.com ## rak.ac hosts Host hades eos HostName %h.rak.ac +Host zeta demeter asteria + Hostname %h.home.arpa Host hades hades.rak.ac hades.home.arpa - CertificateFile ~/.ssh/certs/%L-%h.pub + CertificateFile ~/.ssh/keys/%L/certs/%h.pub Host eos eos.rak.ac eos.home.arpa - CertificateFile ~/.ssh/certs/%L-%h.pub -Host zeta - HostName zeta.rak.ac + CertificateFile ~/.ssh/keys/%L/certs/%h.pub +Match final host="zeta.home.arpa,demeter.home.arpa,asteria.home.arpa" + CertificateFile ~/.ssh/keys/%L/certs/rak.pub Match final host="*.rak.ac,*.ryanak.ca,*.home.arpa" UpdateHostKeys no UserKnownHostsFile ~/.ssh/known_hosts.d/rak.ac @@ -72,7 +74,7 @@ Host sdf Hostname tty.sdf.org Match final host="*.sdf.org" UserKnownHostsFile ~/.ssh/known_hosts.d/sdf.org - CertificateFile ~/.ssh/certs/%L-cert.pub + CertificateFile ~/.ssh/keys/%L/%L-cert.pub ## Misc hosts Host republic republic.circumlunar.space @@ -104,3 +106,6 @@ Host github.com *.github.com ## Global defaults Host * ForwardX11 no + CertificateFile ~/.ssh/keys/%L/certs/rak.pub + +# vim: set ft=sshconfig: -- cgit v1.2.3