I am aware of solution for linux here.
How should one correctly copy public and private keys from one mac to another?