Skip to content

Commit

Permalink
1password ssh agent
Browse files Browse the repository at this point in the history
  • Loading branch information
lingrino committed May 12, 2024
1 parent 5bd6fbb commit c04633f
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{{ if .work -}}
[[ssh-keys]]
item = "work"
vault = "Private"
account = "Lingren"
{{- end }}

[[ssh-keys]]
item = "personal"
vault = "Private"
account = "Lingren"
9 changes: 2 additions & 7 deletions home/exact_private_dot_ssh/private_config.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
{{ if .work -}}
IdentityFile ~/.ssh/work
{{- end }}
IdentityFile ~/.ssh/personal

# Mac Specific Settings
UseKeychain yes
Host *
IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
1 change: 0 additions & 1 deletion home/exact_private_dot_ssh/private_personal.pub.tmpl

This file was deleted.

1 change: 0 additions & 1 deletion home/exact_private_dot_ssh/private_personal.tmpl

This file was deleted.

3 changes: 0 additions & 3 deletions home/exact_private_dot_ssh/private_work.pub.tmpl

This file was deleted.

3 changes: 0 additions & 3 deletions home/exact_private_dot_ssh/private_work.tmpl

This file was deleted.

0 comments on commit c04633f

Please sign in to comment.