A photo of Mitesh Shah

Mitesh Shah

Linux Enthusiast
System Administrator

Email Skype Github Twitter Google+ Resume Hire Me Keybase LinkedIn Stackoverflow


Overview

Summary

  • In previous versions of MAC OS, ssh-agent used to remember the passphrase for the keys I added to the keychain with ssh-add -K.
  • After a reboot (or logout/login), it automatically picked up the passphrase from the keychain with no extra step.

  • In MAC OS X 10.12 Sierra, I have to manually poke the agent to recognize there are passphrase on the keychain

How to Fix

$ wget -O ~/Library/LaunchAgents/ssh_add.plist https://raw.githubusercontent.com/MiteshShah/admin/master/Mac/ssh_add.plist
  • Above command automatically run ssh-add -A at login/reboot.




Post Navigation