How to fix SSH Permission denied (publickey)

When it’s time to ssh into a server or push a project to a git repo, developers tend to face a common problem: Github for example:

What does this mean and how to fix it?

This means a public key exists on the server but the private key hasn’t been added to the ssh authentication agent. The ssh authentication agent is a process that executes single sign-on without providing a username and password.

To find out if any ssh identities

To add an identity, navigate to the directory where the key-pair was created and the private key.

Check to see the identity list

Now that an identity has been added, the ssh connection will be resolved

Shelling is what they call me. A forward thinker debugging life's code line by line. Creator, crossfitter, developer, engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store