Import Private Key .pem file to Mac OS Keychain
Kept getting error.
An error has occurred. Unable to import an item.
The contents of this time cannot be retrieved
Here is the fix from:
It’s been broken since 2009 as reflected in this bug report.
In case that report wanders off the internet, here’s the relevant instructions to import a public key pem file. You’ll want to execute this in Terminal.
security import pub_key.pem -k ~/Library/Keychains/login.keychain
Find hidden file on mac:
In the find file window, press Command-Shift-G. It’ll ask you what folder to navigate to. Enter “~/.ssh” and press return.