Multiple ssh keys supported?
I have multiple ssh keys. There's a slew of use cases for this, but i use different keys for different clients, environments & differentiate my home/work identities.
I just enabled the ssh agent, updated my ssh config with the following:
❯ ls -al ~/.config/1password/
lrwxr-xr-x@ - user 24 Mar 09:23 agent.sock -> '/Users/shawn/Library/Group Containers/****.com.1password/t'/agent.sock
❯ cat ~/.ssh/config
...
Host *
IdentityAgent "~/.config/1password/agent.sock"
...
I confirmed I'm able to ssh to different endpoints without storing my private keys on disk. awesome!
However, i'm having a couple hiccups I'm hoping someone can help with (I did read the docs, and search forum - so sorry in advance if I missed this)
First, I have different Github accounts, and have managed them to date with something like this in my ssh config file:
Host home.github.com
HostName github.com
User git
IdentityFile ~/.ssh/id_ed25519_home
IdentitiesOnly yes
Host github.com
HostName github.com
User git
IdentityFile ~/.ssh/id_ed25519_work
IdentitiesOnly yes
Is there a away to name identities, or fingerprints, with the 1password ssh agent?
Also, what if i only want 1 or 2 of my keys loaded? It looks like, by default, its loading ALL my keys i have. No biggie if I could `ssh-add -D`, but that is not letting me delete any. Is there a way to tag/flag keys i dont want loaded by default?
I looked at the advanced examples (https://developer.1password.com/docs/ssh/agent/advanced/#mac--linux), but all the examples expect the private keys to be stored on disk. Honestly, if i need to store on disk, i'm wondering if the 1password ssh agent is for more basic usage?
Please help :)
About me:
* Running: MacOS & Linux
* 1Password: latest version, up to date.
* 1password user & fanboy. really love the password manager and integrations.
edit: Trying to improve formatting.
edit 2: Man, this editor is really terrible.