Linux Hint published a tutorial about how to fix SSH permission denied public key error.
How do I fix SSH permission denied public key
The Secure Shell (SSH) key is the access credential for SSH protocol. Although the SSH protocol supports multiple approaches for authentication, the public key is considered one of the best ways that help in automated and interactive connections. How to fix SSH permission denied Public key is discussed in this article.