.ssh/config: “Bad configuration option: UseKeychain” on Mac OS Sierra 10.12.6

前端 未结 6 1135
长发绾君心
长发绾君心 2020-12-22 23:25

I am trying to set up my ssh config on the Mac (Mac OS Sierra 10.12.6) in such a way that it stores the passphrase for my ssh key in the keychain. Previously I could do that

6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-22 23:58

    The accepted answer helped me but did not completely solve my problem because I had multiple options that were bad. Here is an example of what it might look like if you have this issue:

    Host *
      IgnoreUnknown AddKeysToAgent,UseKeychain
      AddKeysToAgent yes
      UseKeychain yes
      IdentityFile ~/.ssh/id_rsa
    

提交回复
热议问题