I recently updated my computer to macOS 10.12.2. Since the update, whenever it tries to read my id_rsa
, it asks for my file's passphrase. This happens when connecting to my remote machines via SSH, but also when installing or updating my CocoaPods, which is where I first noticed this behaviour. It works after putting in my passphrase, but I'd rather have it remember it.
Any idea where I can change it back or what might have happened?
Thanks!
It seems there is some change in behaviour or bug introduced with the latest macOS update. I was able to resolve this by creating the file ~/.ssh/config
with contents:
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
Source: Original answer at apple.stackexchange.com
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With