error:
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
solution:
Generate SSH key using ssh-keygen -t rsa -b 4096 -C "your_email@foo.com".
Copy the output of cat id_rsa.pub
Paste the above copied outpur into your Github profile -> Settings ->
SSH and GPG Keys -> Add new SSH key.
网友评论