fix ssh templates

main
Andrew Coleman 2022-05-10 15:33:06 -04:00
parent 8b6d112fe9
commit 319bd4c2b4
25 changed files with 23 additions and 80 deletions

View File

@ -1,7 +1 @@
{{- if (eq .chezmoi.hostname "hydrogen") -}} {{- bitwardenAttachment "selfhosted.pub" "b4c098e4-88a1-4b41-819c-cedc90088de0" }}
{{ (bitwardenAttachment "hydrogen.pub" "selfhosted-ssh-keys") }}
{{- else if (hasSuffix "freebsd" .chezmoi.hostname) -}}
{{ (bitwardenAttachment "hydrogen.pub" "selfhosted-ssh-keys") }}
{{- else if (eq .chezmoi.hostname "lithium") -}}
{{ (bitwardenAttachment "lithium.pub" "selfhosted-ssh-keys") }}
{{- end -}}

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "bluehost-waldenfarmshoa.pub" "thewaldenfarms.com-ssh-keys") -}}

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "bluehost-waldenfarmshoa" "thewaldenfarms.com-ssh-keys") -}}

View File

@ -1,30 +1,33 @@
Include consolo.services.d/*.conf
Host * Host *
ForwardAgent yes ForwardAgent yes
Host penguincoder.org Host penguincoder.org
Port 2223 Port 2223
User {{ (bitwardenFields "item" "selfhosted-ssh-keys").lithium_username.value }} User {{ (bitwardenFields "item" "b4c098e4-88a1-4b41-819c-cedc90088de0").hydrogen_username.value }}
IdentityFile ~/.ssh/lithium IdentityFile ~/.ssh/selfhosted
Host git.penguincoder.org Host git.penguincoder.org
Port 2222 Port 2222
User git User git
IdentityFile ~/.ssh/gitea IdentityFile ~/.ssh/gitea
ProxyCommand none
Host lithium lithium.olympus Host helium.penguincoder.org helium
User {{ (bitwardenFields "item" "selfhosted-ssh-keys").lithium_username.value }} User {{ (bitwardenFields "item" "b4c098e4-88a1-4b41-819c-cedc90088de0").hydrogen_username.value }}
IdentityFile ~/.ssh/lithium HostName 192.168.1.50
Host hydrogen hydrogen.olympus Host hydrogen hydrogen.olympus
User {{ (bitwardenFields "item" "selfhosted-ssh-keys").hydrogen_username.value }} User {{ (bitwardenFields "item" "b4c098e4-88a1-4b41-819c-cedc90088de0").hydrogen_username.value }}
IdentityFile ~/.ssh/hydrogen HostName 192.168.1.80
Host unifi Host potassium potassium.olympus
HostName 192.168.1.97 User {{ (bitwardenFields "item" "b4c098e4-88a1-4b41-819c-cedc90088de0").hydrogen_username.value }}
User {{ (bitwardenFields "item" "selfhosted-ssh-keys").unifi_username.value }} HostName 192.168.1.60
IdentityFile ~/.ssh/lithium ProxyCommand none
Host *.penguincoder.org !git.penguincoder.org
IdentityFile ~/.ssh/selfhosted
ProxyCommand ssh -W %h:%p penguincoder.org -p 2223
Host github.com Host github.com
User git User git
@ -35,6 +38,3 @@ Host jolijardin.co
PubKeyAuthentication no PubKeyAuthentication no
# {{ (bitwardenFields "item" "jolijardin.co").password.value }} # {{ (bitwardenFields "item" "jolijardin.co").password.value }}
Host thewaldenfarms.com
User {{ (bitwardenFields "item" "thewaldenfarms.com-ssh-keys").username.value }}
IdentityFile ~/.ssh/bluehost-waldenfarmshoa

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "aws-devops.pub" "Wellsky-AWS") -}}

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "aws-devops" "Wellsky-AWS") -}}

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "aws-devops.pub" "Wellsky-AWS") -}}

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "aws-prod" "Wellsky-AWS") -}}

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "aws-sigma.pub" "Wellsky-AWS") -}}

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "aws-sigma" "Wellsky-AWS") -}}

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "devops.conf" "Wellsky-AWS") -}}

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "nonprod.conf" "Wellsky-AWS") -}}

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "peak10.conf" "Wellsky-AWS") -}}

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment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DrCcbnqKwyHOUxh5WuHq3uIrZCaGhjihpubNNB39VptDaxjKSDWNRGtCs4TYqIbKpP7
BulKIbVCEbIGOHwt8wfCtDKXiTxfmiE4t2D8eVjSIkzcFq4c3HOTm0j7nmaR3Z3niV3Au5
st9y9yjwznbGXAeiyTj/8wyylZ6n52owAAAMEA5VmUoi3H0XDtKG2nwMziD1Y/3KloOMBG
4Mwhe5Ji8H12mXYd8XmaQBkopxNJ59M2bX11QzfgendGDPx0lUg33Y1Koo7526OWsRemP/
+NITHzXt2CStomOn5vjoFrO+DvcT8YglThOs0tBeTo4NIP1NVUtCuL39CdCpcFEvFjy4X1
2P9Us+Sfj1yDrJ0xd3Zz32/OBRMrFHdx8Y2kb6MzYTxTMkojPsT5yI9+XZeweNhHmgJG1p
Xdbf9FPG8g7XIzAAAAFmFuZHJld0BERVNLVE9QLTdLMEZCSkIBAgME
-----END OPENSSH PRIVATE KEY-----

View File

@ -1 +1 @@
{{- (bitwardenAttachment "gitea.pub" "selfhosted-ssh-keys") -}} {{- (bitwardenAttachment "gitea.pub" "b4c098e4-88a1-4b41-819c-cedc90088de0") -}}

View File

@ -0,0 +1 @@
{{- (bitwardenAttachment "gitea" "b4c098e4-88a1-4b41-819c-cedc90088de0") -}}

View File

@ -1 +1 @@
{{- (bitwardenAttachment "github.pub" "selfhosted-ssh-keys") -}} {{- (bitwardenAttachment "github.pub" "b4c098e4-88a1-4b41-819c-cedc90088de0") -}}

View File

@ -1 +1 @@
{{- (bitwardenAttachment "github" "selfhosted-ssh-keys") -}} {{- (bitwardenAttachment "github" "b4c098e4-88a1-4b41-819c-cedc90088de0") -}}

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "hydrogen.pub" "selfhosted-ssh-keys") -}}

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "hydrogen" "selfhosted-ssh-keys") -}}

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "lithium.pub" "selfhosted-ssh-keys") -}}

View File

@ -1 +0,0 @@
{{- (bitwardenAttachment "lithium" "selfhosted-ssh-keys") -}}

View File

@ -0,0 +1 @@
{{- (bitwardenAttachment "selfhosted.pub" "b4c098e4-88a1-4b41-819c-cedc90088de0") -}}

View File

@ -0,0 +1 @@
{{- (bitwardenAttachment "selfhosted" "b4c098e4-88a1-4b41-819c-cedc90088de0") -}}