Git key has been added to the github centimeter under linux, but the repository still cannot be cloned, indicating that the remote warehouse cannot be read.

$ sudo git clone git@github.com:abcd498936590/blog-web.git
 "blog-web"...
Warning: Permanently added the RSA host key for IP address "52.74.223.119" to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: 



the desktop version of ubuntu has a network. It is certain that key has been added to the guthub, remote warehouse, but it can not be cloned to the local location. This has been prompted all the time. For being very helpless, Mr. Qiu pointed out

.

ps: has just been tested. Remote libraries can be cloned using https. Key has been added to the remote warehouse

Jun.15,2021

try

ssh git@github.com -vvv

take a closer look at the output to see what the problem is


maybe the key you added contains extra invisible characters. Try copy the text file directly to the clipboard, and then add it to github to try


the problem is solved. It is the permission problem under linux. I cloned the warehouse to the system root directory without permission. I can just clone the project to the user's directory. My own problems. Ah,


digging graves
I also encountered the same problem. I checked and found that it was because the config configuration of ssh was wrong. Mistakenly added IdentitiesOnly yes to the * wildcard item. The problem was resolved after deletion.
hopes to be helpful to others.

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-1e62b8d-4468b.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-1e62b8d-4468b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?