我正在
ssh_askpass: exec(/usr/lib/ssh/ssh-askpass): No such file or directory
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights.
[尝试从TeamCity构建将更改推送到GitHub时发生此错误。如何避免出现此错误消息?
我需要将环境变量
SSH_ASKPASS
设置为指向“C:\Program Files\Git\mingw64\libexec\git-core\git-askpass.exe
”。这会以给定的正确路径覆盖unix路径
这将假定您的TeamCity在Windows服务器上运行。