diff options
author | Ryan Kavanagh <rak@rak.ac> | 2022-06-17 06:03:47 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2022-07-06 21:38:31 -0400 |
commit | acf573e9a31bf6e2213b3586476351c6e814899f (patch) | |
tree | 2a4776433288daeb972f460d6a26e0a055052f2e | |
parent | Update ssh certs (diff) |
template ssh authorized keys to allow juicessh by host
-rw-r--r-- | private_dot_ssh/authorized_keys | 1 | ||||
-rw-r--r-- | private_dot_ssh/authorized_keys.tmpl | 4 |
2 files changed, 4 insertions, 1 deletions
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 }} |