Skip to content

Instantly share code, notes, and snippets.

Last active April 7, 2018 13:41
What would you like to do?
command line for my blog.
// より。
// 1. まずはssh-agentをバックグラウンドで動かす
$ eval "$(ssh-agent -s)"
// 2. macOS Sierra(10.12)以降は ~/.ssh/config も編集する
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
// 3. パスフレーズをキーチェーンに追加
$ ssh-add -K ~/.ssh/id_rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment