10
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

git で "Agent admitted failure" とエラーが出たら

Posted at

git で ssh を使って clone しようとしたらこんなエラーが出ました。
id_rsa を作ったり消したりしていたのが原因だったようです。

Agent admitted failure to sign using the key.
Permission denied (publickey).

こんなときは

$ ssh-add ~/.ssh/id_rsa

で解決。

10
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?