ssh -T git@github.com去测试一下
ssh-keygen -t rsa -C "github账号"
cat Your public key has been saved in 路径
Settings -----> SSH and GPG keys