xChar
·4 years ago

建立 ~/.ssh/config 文件,内容:

Host *
    UseKeychain yes
    AddKeysToAgent yes

然后添加私钥到系统即可:

ssh-add [/path/to/your/private/key]
Loading comments...