add option to add keys automatically and use the human name instead of uuid

main
Andrew Coleman 2022-05-11 08:23:37 -04:00
parent acd93224b9
commit 71357b961e
8 changed files with 12 additions and 11 deletions

View File

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

View File

@ -1,9 +1,10 @@
Host *
ForwardAgent yes
AddKeysToAgent yes
Host penguincoder.org
Port 2223
User {{ (bitwardenFields "item" "b4c098e4-88a1-4b41-819c-cedc90088de0").hydrogen_username.value }}
User {{ (bitwardenFields "item" "selfhosted-ssh-keys").hydrogen_username.value }}
IdentityFile ~/.ssh/selfhosted
Host git.penguincoder.org
@ -13,15 +14,15 @@ Host git.penguincoder.org
ProxyCommand none
Host helium.penguincoder.org helium
User {{ (bitwardenFields "item" "b4c098e4-88a1-4b41-819c-cedc90088de0").hydrogen_username.value }}
User {{ (bitwardenFields "item" "selfhosted-ssh-keys").hydrogen_username.value }}
HostName 192.168.1.50
Host hydrogen hydrogen.olympus
User {{ (bitwardenFields "item" "b4c098e4-88a1-4b41-819c-cedc90088de0").hydrogen_username.value }}
User {{ (bitwardenFields "item" "selfhosted-ssh-keys").hydrogen_username.value }}
HostName 192.168.1.80
Host potassium potassium.olympus
User {{ (bitwardenFields "item" "b4c098e4-88a1-4b41-819c-cedc90088de0").hydrogen_username.value }}
User {{ (bitwardenFields "item" "selfhosted-ssh-keys").hydrogen_username.value }}
HostName 192.168.1.60
ProxyCommand none

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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