aboutsummaryrefslogtreecommitdiff
path: root/private_dot_ssh/config
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2021-12-16 10:18:22 -0500
committerRyan Kavanagh <rak@rak.ac>2021-12-16 10:18:22 -0500
commitf5d66ee6b8553a085813cfb43ce9c2e84bc8ef99 (patch)
tree5d4ffb439907f2ec608c2cf0795fd8a6f697a57e /private_dot_ssh/config
parenttrack gpg-agent.conf (diff)
more ssh config finangling
Diffstat (limited to 'private_dot_ssh/config')
-rw-r--r--private_dot_ssh/config15
1 files changed, 10 insertions, 5 deletions
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: