次の問題があります。
$ git push -u origin master
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
私はすでにこれを行っている接続を確認しました:
$ ssh -vT git@github.com
出力は良さそうです、私は正しく認証されました。
さらに調べてみると、次のことに気づきました。
$ ssh-add -l
The agent has no identities.
ssh-agentを実行しようとしましたが、何も変更されていません。
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-A1mhFqvqncuO/agent.766; export SSH_AUTH_SOCK;
SSH_AGENT_PID=767; export SSH_AGENT_PID;
echo Agent pid 767;
$ ssh-add -l
Could not open a connection to your authentication agent.
ArchLinuxを使用しています。どんな助けでも大歓迎です!前もって感謝します!