Level up your business security with free, on-demand training and certification. Explore 1Password Academy today →
Forum Discussion
Former Member
4 years agoAbility to specify which key to use (otherwise: Too many authentication failures)
I was perplexed as to why I could not SSH into a system earlier today. It looks like ssh is simply trying all of the keys in my vault, one after another, though never getting to the one it needs befo...
Former Member
4 years agoYes, you can specify the key to use via IdentityFile in the .ssh/config file. You can view the keys by running
SSH_AUTH_SOCK="$(readlink -f ~/Library/Group\ Containers/*.com.1password/t/agent.sock)" ssh-add -l
You'll see an line per key in the form of
KEY_SIZE SHA256:KEY_HASH FILE_NAME (KEY_TYPE)
Set your IdentityFile equal to the FILE_NAME and it will use that key.