更改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/2047.html
chmod 600 /path/to/key
chmod 400 /path/to/key
eval "$(ssh-agent -s)"
ssh-add /path/to/key
git config user.name "yourname"
git config user.email "youremail"
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/2047.html