用 1Password 管理多个 SSH 私钥 工作和个人都是用 GitHub 作为代码仓库,公司有个专门的 GitHub 账号。用 1Password 来管理私钥,并且可以 GPG 签名: - 打开 1Password SSH Agent - 配置 SSH # Personal GitHub Host personalgit HostName github.com User git IdentityFile ~/.ssh/personal_git.pub IdentitiesOnly yes # Work GitHub Host workgit HostName github.com User git IdentityFile ~/.ssh/work_git.pub IdentitiesOnly yes

Advanced use cases - 1Password DeveloperLearn more about how to use the SSH agent for specific hosts, avoid authentication limits, and use multiple Git identities on the same machine.developer.1password.com
← 全部动态