SVN+SSH, not having to do ssh-add every time? (Mac OS)

后端 未结 7 668
傲寒
傲寒 2020-11-29 17:00

I know the answer is out there, but I\'m pretty Unix-dumb and probably wouldn\'t recognize the solution if it hit me in the face.

I\'m on a Mac, connecting to a SVN

7条回答
  •  野性不改
    2020-11-29 17:09

    First, move your private key file into ~/.ssh. This is not strictly necessary but it's the standard place for such things.

    Then run ssh-add -K ~/.ssh/privateKey.txt. It'll prompt for your passphrase if necessary, then add it to your Keychain.

    After that, you shouldn't have to do anything else. A slightly longer explanation is available here.

提交回复
热议问题