19
19

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.

macOS Sierra で ssh-agent の鍵をすぐ忘れられちゃうのめんどくさいんじゃこらーの対処法

Posted at

Sierra 以前では、ssh-agent を使う時には以下のようにすればオッケーでした。

$ ssh-add -K ~/.ssh/id_rsa

Sierra では、 ~/.ssh/config に以下のように追加してください。

Host *
   AddKeysToAgent yes
   UseKeychain yes
   IdentityFile ~/.ssh/id_rsa

以上!

19
19
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
19
19

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?