Created
October 22, 2016 07:50
-
-
Save tuphamphuong/dc7239c3af51c3002d63d4824a85c789 to your computer and use it in GitHub Desktop.
Fix bug ssh agent stop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git fetch | |
Connection to bitbucket.org closed by remote host. | |
fatal: Could not read from remote repository. | |
Please make sure you have the correct access rights | |
and the repository exists. | |
$ ssh-add -l | |
The agent has no identities. | |
$ ssh-add ~/.ssh/id_rsa | |
Identity added: /root/.ssh/id_rsa (/root/.ssh/id_rsa) | |
$ ssh-add -l | |
2048 SHA256:xxx /root/.ssh/id_rsa (RSA) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment