出现这个问题时查看一下id_rsa.pub中的user是否和下面两个中的user相同
cat ~/.ssh/id_rsa.pub
以及
git config --global user.name
以及
http://42.96.169.157/haiyang5210/scrum/team
附:
SSH key allows you to establish a secure connection between your computer and GitLab
To generate a new SSH key just open your terminal and use code below.
ssh-keygen -t rsa -C "haiyang5210@gmail.com"
# Creates a new ssh key using the provided email
# Generating public/private rsa key pair...
Next just use code below to dump your public key and add to GitLab SSH Keys
cat ~/.ssh/id_rsa.pub
#ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6eNtGpNGwstc....