7
5

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.

Mac での SSH Keys の作成と Keychain にパスフレーズを覚えさせる

Last updated at Posted at 2018-08-01

SSH キーペアの作成

$ ssh-keygen -t rsa -b 4096 -C "メールアドレス"

Enter passphrase ... とパスフレーズを聞かれたら設定をする。

Keychain にパスフレーズを覚えさせる

.ssh/config に下記の設定を追記する。

AddKeysToAgent yes
UseKeychain yes

こうすると次からパスフレーズを入れなくて済む。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?