The Gerrit Trigger plugin worked well previously, but from a time point that I couldn't figure out, the connection can never be established with following error message:
GerritTrigger插件以前工作得很好,但从一个我无法确定的时间点来看,连接永远无法建立,错误消息如下:
Connection error : com.jcraft.jsch.JSchAlgoNegoFailException: Algorithm negotiation fail: algorithmName="server_host_key" jschProposal="ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256" serverProposal="ssh-rsa"
Gerrit Trigger version: 2.39.0
Gerit触发器版本:2.39.0
SSH key was generated via ssh-keygen
SSH密钥是通过ssh-keygen生成的
I noticed there is a plugin named JSch dependency, versioned at 0.2.8-65.v052c39de79b_2, which is the latest one.
我注意到有一个名为JSch Dependency的插件,版本是0.2.8-65.v052c39de79b_2,这是最新的一个。
I've checked answers in stackoverflow for a while, but didn't find any useful info. Could you please help?
我已经在Stackoverflow中检查了一段时间的答案,但没有找到任何有用的信息。你能帮帮忙吗?
更多回答
Either use a more secure server or configure jsch as explained on github.com/mwiede/…
或者使用更安全的服务器,或者按照githeb.com/mwied/…上的说明配置JSCH
优秀答案推荐
我是一名优秀的程序员,十分优秀!