SSH Issue with 1Password

Published: 04 January 2023 in Technique by Alan ssh 1password

If you have some ssh keys before you use the 1Password SSH agent, you might get the issue of asking the ssh key password when you use the existing ssh key. That's because 1Password modifies the ssh config file.

# This is what the config file is after enabling the 1Password agent.
Host *
    IdentityAgent "{1Password_path}/agent.sock"

To fix this issue, add your existing ssh key into the config file.

Host {your_existing_ssh_server}
    IdentityAgent {your_existing_ssh_key_path}

Host *
    IdentityAgent "{1Password_path}/agent.sock"


Powered by Pelican

Hosted on

Get $100 credit for your first first order!