I have an ssh key name.ppk I want to add by mac terminal to be able to clone from Git repository because when I am cloning from the repository it give me
Permission denied (publickey).
fatal: Could not read from remote repository.
I have an ssh key name.ppk I want to add by mac terminal to be able to clone from Git repository because when I am cloning from the repository it give me
Permission denied (publickey).
fatal: Could not read from remote repository.
After that:
/usr/bin/ssh-add -K
(add to keychain)
You can generate SSH keys (for git) in OSX by following these steps on GitHub: https://help.github.com/articles/generating-ssh-keys.
If you need to stick with the .ppk key (and Luchini's post doesn't work for you), you might also find this helpful: Use PPK file in Mac Terminal to connect to remote connection over SSH