我试着用钥匙链来管理git凭证。我在用
git config --global credential.helper osxkeychain那就去做
% git pull
Enter passphrase for key '/.ssh/id_ed25519':
Already up to date.
% git pull
Enter passphrase for key '/.ssh/id_ed25519':
Already up to date.
%这说明git不记得密码了。有办法记住密码吗?
发布于 2022-09-02 06:16:41
我确认credential.helper仅用于缓存HTTPS凭据。它根本不用于SSH连接。
您可以通过将密钥添加到SSH代理来缓存密码,这允许您的私钥被解密。
https://stackoverflow.com/questions/73574724
复制相似问题