meta data for this page
Notes on Mac OS (X)
Collection of notes on Apple's OS.
In the past few years (only updated to 10.15 recently) a number of OS updates have changes some of the behaviour of ssh. Since Mac OS Sierra, ``ssh-agent`` does not automatically store the password in the MacOS keychain anymore.
This Reddit shows ho to fix it by adding the following lines to your ``.ssh/config`` file:
Host * UseKeychain yes AddKeysToAgent yes IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_25519