2019-04-09

error:

[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

solution:

Generate SSH key using ssh-keygen -t rsa -b 4096 -C "[email protected]".
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.

你可能感兴趣的:(2019-04-09)