I am trying to clone a repo from github. To do that
I have generated a ssh key using: ssh-keygen.
Then I added the content of ~/.ssh/id_rsa.pub to my keys in github account.
Even after that I am unable to clone any repo. I am getting following error:
ssh_exchange_identification: read: Operation timed out
Please make sure you have the correct access rights
and the repository exists.
In this regard, I have gone through a few posts here, but unable to fix.
NOTE: This error I am facing even after removing SSH key from my github account.
EDIT: When I am doing "ssh -T [email protected]", I am getting the same error:
ssh_exchange_identification: read: Operation timed out
As suggested in: https://help.github.com/en/articles/error-permission-denied-publickey, while executing following commands:
1. ssh-add -l ==> The agent has no identities.
2. ssh-add -l -E md5 ==> The agent has no identities.