macOSでsshしてからssh-addしてないのに気づく件、とりあえず~/.zshrcに下記を追加してみた。うまくいくかしら。
ssh-add -l > /dev/null || { echo Running ssh-add from .zshrc; ssh-add; }
もしかしたらと思って調べてみたらsshコマンドにssh-addをお願いできるじゃん。
echo AddKeysToAgent yes >> .ssh/config
Mastodon is the best way to keep up with what's happening.
Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight.