4

I'm currently facing a little issue about the ssh-agent service. I rebooted my computer today after removing a Boot Camp partition. Since then, ssh-agent no longer starts automatically at login.

I use this agent really often with Git and multiple SSH keys and have not seen a problem like this before. I can't find any errors about ssh-agent in the "Console" application.

How can I check the service configuration? What can I do to make it work again?

3

They chose to realign macOS behavior (Sierra) with the mainstream OpenSSH. You'll maybe find an explanation to make it work again here:

SSH-agent does not automatically load passphrases on the OSX Sierra keychain during startup

Engineering has determined that this issue behaves as intended based on the following information: That’s expected. We re-aligned our behavior with the mainstream OpenSSH in this area. You can fix this pretty easily by running ssh-add -A in your rc script if you want your keys to always be loaded.

| improve this answer | |
  • Hello, thank you for the answer... Seems to doesn't be the solution for me. This is my ssh-agent which is not started... All the keys are already loaded correctly but when I ran something like ssh-add -A I receive the message Could not open a connection to your authentication agent. so I must run : eval ssh-agent $SHELL... – shulard Oct 19 '16 at 15:27
  • I haven't found a validation solution for my problem but your article help me a lot :) – shulard Oct 20 '16 at 14:17
  • Finally I found the valid answer here... There was a problem after downloading MacOS Sierra but not installing it... superuser.com/questions/1133065/… – shulard Oct 20 '16 at 16:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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