Just updated to MacOS Sierra and I've followed the prescribed fixes for what Apple broke with SSH and the keychain as detailed here (macOS keeps asking my ssh passphrase since I updated to Sierra)

Still, I can't seem to get my TMUX session to not need the passphrase, and it doesn't seem to be environment variable related either FYI.

Any thoughts from the community?

Darwin i386 | tmux 2.3 | screen-256color

Thanks...

I found a workaround by running these two commands in the window that I'd like to use to push to git. Entering my public key passphrase once allows me to push with authentication as long as I keep the window open.

eval $(ssh-agent)
ssh-add

Not a solution, per se, but it works for now.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.