English 中文(简体)
Gerrit Trigger由于 com.jcraft.jsch.JSchAlgoNegoFailException而失去联系
原标题:Gerrit Trigger lost connection due to com.jcraft.jsch.JSchAlgoNegoFailException

Gerrit Trigger plugin曾很好地工作过,但从我可以指出的一段时期来看,从来不可能用以下错误信息来建立这一联系:

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案: 2.39.0

SSH 钥匙通过sh子产生

我注意到,有一个叫做“Sch附属公司”的原始资料,其版本为0.28-65.v052c39de79b_2,即最新版本。

我用一个时间检查了中途的答案,但并没有发现任何有用的信息。 您能否提供帮助?

问题回答

Try Plus the following JV_OPTS at thestart of jenkins: -Djsch.client_pubkey=ssh-rsa,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256-Djsch.server_host_key=sshed25519,ecdsa-sha2-nistp256,ecdsa-sha2-sha2-5a

http://github.com/jenkinsci/publish-over-ssh-plugin/issues/312”rel=“nofollow noreferer” https://github.com/jenkinsci/publish-over-ssh-plugin/issues/312





相关问题
Looking for java SFTP modern library, not jsch [closed]

The "jsch" based implementation works for me. But it looks not modern one due to using Vector (old style Java collection). I found that the other implementations are less popular and not documented. ...

Detect jsch disconnection

How can I detect from the client that jsch session has been disconnected by the server?

com.jcraft.jsch.JSchException: Auth cancel

I m trying to write an Ant script to retrieve an URL via port tunnelling. It works great when I use a password (the names xxxx d out for privacy): <project default="main"> <target name="...

Run a command over SSH with JSch

I m trying to run a command over SSH with JSch, but JSch has virtually no documentation and the examples I ve found are terrible. For example, this one doesn t show code for handling the output stream....

Accessing a git repository via ssh behind a firewall

I would like to access (clone/push/pull) a private (via ssh) git repository while behind a corporate firewall that only allows http proxy access. I have written a robust Java (daemon) program (based ...

热门标签