How can I perform a `git pull` without re-entering my SSH password?

前端 未结 5 1127
挽巷
挽巷 2021-01-30 03:48

Is it possible to configure git/ssh so I don\'t have to enter my passphrase every time I want to perform a git pull? Note that the repo is a private

5条回答
  •  没有蜡笔的小新
    2021-01-30 04:08

    Have a look at this link https://help.github.com/articles/working-with-ssh-key-passphrases/

    But I don’t want to enter a long passphrase every time I use the key!

    Neither do I! Thankfully, there’s a nifty little tool called ssh-agent that can save your passphrase securely so you don’t have to re-enter it. If you’re on OSX Leopard or later your keys can be saved in the system’s keychain to make your life even easier. Most linux installations will automatically start ssh-agent for you when you log in.

提交回复
热议问题