[git] Permission denied (publickey) public key is not configured

Question details

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

Solution

1. Generate public key

# 生成
ssh-keygen -t rsa -C "[email protected]"
# 查看公钥并复制
cat ~/.ssh/id_rsa.pub

2. Copy and add to github ssh Key

Guess you like

Origin blog.csdn.net/qq_41536505/article/details/130284870