1Password on Mastodon

MacOS auto load the 1password ssh config?

rstolperstolpe
Community Member
edited December 2022 in SSH

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

Comments

  • Jack.P_1PJack.P_1P

    Team Member

    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

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file