更改key的权限
chmod 600 /path/to/key
chmod 400 /path/to/key
添加key
eval "$(ssh-agent -s)"
ssh-add /path/to/key
configure user
git config user.name "yourname"
git config user.email "youremail"
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/tech/aiops/2047.html