Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
Former Member
3 years ago$SSH_AUTH_SOCK has an incorrect value
I've been dealing with random hangs when using git, more so using git pull
for some reason, after checking the $SSH_AUTH_SOCK
variable it was set back to /private/tmp/com.apple.launchd.xxxxxxxx/Listeners
, had to manually unset the variable so that it changed the value to ~/.1password/agent.sock
and that fixes the issue.
I'm using Fish as my shell if that matters, but this is something that I frequently have to fix, and it's my only annoyance with the SSH agent.
1Password Version: 8.9.7
Extension Version: Not Provided
OS Version: 12.6
Browser:_ Not Provided
- Jack_P_1P
1Password Team
Hey @tred27:
Great question! This is macOS's default SSH agent that's configured every time a session launches. Your best bet would to configure
SSH_AUTH_SOCK
in yourconfig.fish
file so that it's set every time Fish launches. Let me know how you get on with that!Jack
- Former Member
Thanks Jack_P_1P, sadly I have done that already, it's been there for a while, and it's still getting replaced, so it's something else that's changing it somehow.
- floris_1P
1Password Team
If you're only using the 1Password agent, you can also consider to configure SSH_AUTH_SOCK globally.
This will create a symlink on macOS startup from whatever the
SSH_AUTH_SOCK
value is to the 1Password agent socket. - Former Member
Ah, that's wonderful, thank you, floris_1P, this should sole the issue.