From acf573e9a31bf6e2213b3586476351c6e814899f Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Fri, 17 Jun 2022 06:03:47 -0400 Subject: template ssh authorized keys to allow juicessh by host --- private_dot_ssh/authorized_keys | 1 - private_dot_ssh/authorized_keys.tmpl | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) delete mode 100644 private_dot_ssh/authorized_keys create mode 100644 private_dot_ssh/authorized_keys.tmpl (limited to 'private_dot_ssh') diff --git a/private_dot_ssh/authorized_keys b/private_dot_ssh/authorized_keys deleted file mode 100644 index 6b0d340..0000000 --- a/private_dot_ssh/authorized_keys +++ /dev/null @@ -1 +0,0 @@ -cert-authority ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOgOV5atVQfbpFQ2R1wkUPy2yoCxzloVMTwUU6j7R4v3 rak diff --git a/private_dot_ssh/authorized_keys.tmpl b/private_dot_ssh/authorized_keys.tmpl new file mode 100644 index 0000000..7cd959c --- /dev/null +++ b/private_dot_ssh/authorized_keys.tmpl @@ -0,0 +1,4 @@ +cert-authority ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOgOV5atVQfbpFQ2R1wkUPy2yoCxzloVMTwUU6j7R4v3 rak +{{ if eq .chezmoi.fqdnHostname "beastie.sdf.org" -}} +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII9QEmJagqiGPOFkQTXPcgaOcaCU5OpLMFy2q/YlZ2WJ JuiceSSH +{{- end }} -- cgit v1.2.3