ssh-agent service stop starting at login on Mac OS 10.11
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.
Related videos on Youtube
shulard
Senior web developer I love using all web technologies (HTML5, CSS3, JavaScript) to put the web forward! I work as an Agile evangelist and adopt the principles of Scrum as soon as I can. I like to understand how things work in their entirety before using new tools, languages or libraries. I am also committed to redevelop existing bricks to understand the subtleties! I use web technologies everyday to build innovative web applications. I have a very strong preference for the rich and complex interfaces built with multi-platform languages like HTML5, CSS3 and JavaScript.
Updated on September 18, 2022Comments
-
shulard almost 2 years
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?
-
shulard over 7 yearsHello, 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 likessh-add -A
I receive the messageCould not open a connection to your authentication agent.
so I must run :eval ssh-agent $SHELL
... -
shulard over 7 yearsI haven't found a validation solution for my problem but your article help me a lot :)
-
shulard over 7 yearsFinally I found the valid answer here... There was a problem after downloading MacOS Sierra but not installing it... superuser.com/questions/1133065/…