Git Permission denied?

copy the key file to the .ssh folder, but why is it always like this:

The authenticity of host "[rsgerrit]:29418 ([xx.xx.xx.xx]:29418)" can"t be established.
RSA key fingerprint is SHA256:46TAh8mcOaToX5JD81qkcyRrP66+Xq9cps7RXkKblYQ.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added "[rsgerrit]:29418,[xx.xx.xx.xx]:29418" (RSA) to the list of known hosts.
Load key "/home/hades/.ssh/id_rsa": Permission denied
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
The ssh key of

git has not been in effect. Why?

Jun.14,2021

one possible situation is the permission problem. Let's take a look at the corresponding permissions

.
-sharp     
chmod 755 /home/hades
chmod 700 /home/hades/.ssh
chmod 600 /home/hades/.ssh/*

-sharp ssh_configsshd_config
IdentityFile ~/.ssh/id_rsa
PubkeyAuthentication yes
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37ecc-2c0ec.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37ecc-2c0ec.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?