错误消息:Error connecting to agent: No such file or directory
检查本地ssh agent,发现已经启动了:
然而遇到这个错:
解决方案:执行命令行:
powershell -ExecutionPolicy Bypass -File “C:\MyApp\OpenSSH-Win64\install-sshd.ps1”
之后ssh-add工作正常。
[外链图片转存失败(img-shZBiaeE-1566608984605)(user-images.githubusercontent.com/5669954/589…":