# Following error occurs whe we trigger gerrit patchset

**URL:** <https://community.jenkins.io/t/following-error-occurs-whe-we-trigger-gerrit-patchset/10399>\
**Category:** Community\
**Created:** [October 26, 2023, 6:04am UTC](https://community.jenkins.io/t/following-error-occurs-whe-we-trigger-gerrit-patchset/10399 "2023-10-26T06:04:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![desainiravp](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/desainiravp/32/5686_2.png) [@desainiravp](https://community.jenkins.io/u/desainiravp)\
**Post date:** [October 26, 2023, 6:04am UTC](https://community.jenkins.io/t/following-error-occurs-whe-we-trigger-gerrit-patchset/10399/1 "2023-10-26T06:04:03Z")

</div>

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”

---

<div class="post-metadata">

**Author:** ![desainiravp](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/desainiravp/32/5686_2.png) [@desainiravp](https://community.jenkins.io/u/desainiravp)\
**Post date:** [October 31, 2023, 11:34am UTC](https://community.jenkins.io/t/following-error-occurs-whe-we-trigger-gerrit-patchset/10399/2 "2023-10-31T11:34:29Z")

</div>

Adjusting JSch Dependency plugins error can be resolved

---

<div class="post-metadata">

**Author:** ![OmShree](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/omshree/32/9027_2.png) [@OmShree](https://community.jenkins.io/u/OmShree)\
**Post date:** [July 31, 2024, 1:03am UTC](https://community.jenkins.io/t/following-error-occurs-whe-we-trigger-gerrit-patchset/10399/3 "2024-07-31T01:03:42Z")

</div>

Hello desainiravp,  
How did you resolve this error? I have jenkins-2.452.3 with OpenJDK-21.0.3 on RedHat-9.4; password less SSH connection working just fine from command line but from Jenkins GUI it is throwing the same error you mentioned here. And my client system is on RedHat-6.10.  
What & where the changes helped you to resolve the issue?  
Thank you.
