1

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.
gturri
  • 12,179
  • 9
  • 39
  • 55
Mohamed Temraz
  • 45
  • 3
  • 11

2 Answers2

0

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

Community
  • 1
  • 1
Stevethemacguy
  • 620
  • 6
  • 20