I am trying to setup my SSH key for my internal git account and to also use to to connect to external SSH / SCP servers, but when I try to test this I am stuck at Permission Denied (publickey)
error and no matter
What am I missing? I have followed - https://help.github.com/articles/error-permission-denied-publickey/ and other associated articles. I have also read numerous articles on stack.
This is the step I use to start, check and then test the connection before I push the repository, upon which I get 'Fatal' error for unable to pass authentication - on github. While when trying to connect to the external server (CentOS on AWS) using SSH, I get -'Disconnected: No supported authentication method available (Server sent: publickey,gssapi-keyex,gssapi-with-mic).'
Connect:
eval ssh-agent -s
Add: ssh-add
Test: ssh-add -l -E md5
Test: ssh -T git@github.com
Appreciate your help.