Permission denied, please try again problem when centos 7 builds ssh connection to git server

when I"m about to finish building, Permission denied, please try again appears when I use ssh-v git@service. It still doesn"t work after trying to enter the correct password. I have tried all the methods on the Internet. It hasn"t been solved yet. I have configured all the places that should be configured. The following figure

1. My server is Aliyun"s centos 7 using the default git 1.8
2.git users and the git user group has created
3.sshd_config certificate login has also been modified. As shown in figure
clipboard.png
RSAAuthenticationcentos 7sshd_configssh_configyes
clipboard.png

4.
clipboard.png
id_rsa.pubauthorized_keys
5.gitshell
clipboard.png

clipboard.png

sshgit

clipboard.png
git clone

clipboard.png

clipboard.png
solve

Mar.26,2022
Is the permission for the

authorized_keys file set correctly? The permissions of this file are generally 644
. Is the content of the file correct?
are local id_rsa file permissions correct? This permission must be 600 to allow

Menu