using mac ssh to connect to the linux server or GitHub both reported the same error Permission denied (publickey).
found a lot of places on the Internet, adding environment variables and changing the configuration file could not solve the problem of
excluding remote, because I sent the key to a friend with the same steps and operations, she could connect directly, but I still reported an error.
those who use windows can also connect directly, and colleagues" mac can also connect. Since I am in the front end, I don"t know much about this area. I hope you can help me to see where the problem lies.
this is my sshd_config list