It seems you need to run ssh-agent before using it: eval `ssh-agent -s` 微信公众号: 转载于:https://www.cnblogs.com/Amos-Turing/p/6545030.html