MacOS auto load the 1password ssh config?

Community Member
edited December 2022 in SSH

I'm using 1password to save my ssh keys etc. But one thing is so irritating and I'm hoping that you can help me fix that.
Every time I restart the terminal I always need to writ
export SSH_AUTH_SOCK=~/Library/Group\ Containers/

before it start working with 1password. Can I automate that somehow? I have everything saved in the config file.
And as I can't use ssh keys for everything I have specified what hosts I will use them with in the config file.

1Password Version: latest
Extension Version: lates
OS Version: macOS 13.1
Browser:_ safari


  • Hi @rstolpe:

    Great question! In your shell startup script (.bashrc, .zshrc, etc) in your home directory, if you export the SSH_AUTH_SOCK variable, it will be used in every terminal session. Let me know how you get on with that!


This discussion has been closed.