Forum Discussion

Former Member's avatar
Former Member
3 years ago

MacOS auto load the 1password ssh config?

Hi,
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/2BUA8C4S2C.com.1password/t/agent.sock

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

1 Reply

  • Jack_P_1P's avatar
    Jack_P_1P
    Icon for 1Password Team rank1Password Team

    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!

    Jack