我正在尝试将远程github存储库配置为盐服务器根,但它无法使发布/私有密钥对的身份验证成功。我也在 / etc / salt / master 文件中指定了键的位置。
下面是我得到的日志:
2018-11-05 01:48:32,197 [salt.utils.gitfs :1574][ERROR ][21391] Error occurred fetching gitfs remote 'git@[github-endpoint].git': failed to start SSH session: Unable to exchange encryption keys
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/utils/gitfs.py", line 1552, in _fetch
fetch_results = origin.fetch(**fetch_kwargs)
File "/usr/lib64/python2.7/site-packages/pygit2/remote.py", line 405, in fetch
File "/usr/lib64/python2.7/site-packages/pygit2/errors.py", line 64, in check_error
GitError: failed to start SSH session: Unable to exchange encryption keys
我已经检查了密钥对和与github端点的连接。 我可以在服务器中手动同步仓库。