IMG: AFX SSH Connection to CYGWIN receives "Algorithm Negotiation Error"
Originally Published: 2016-02-03
Article Number
Applies To
RSA Product/Service Type: Appliance, Soft Appliance, Enterprise Software
RSA Version/Condition: 7.0
Platform: All
Issue
The log file shows
java.io.IOException: Algorithm negotiation fail
at net.sf.commons.ssh.jsch.JschConnectionFactory.connectUsingPassword(JschConnectionFactory.java:82)
at net.sf.commons.ssh.jsch.JschConnectionFactory.openConnection(JschConnectionFactory.java:142)
at com.aveksa.AFX.transport.ssh.SshSettingsTest.runTest(SshSettingsTest.java:66)
......
Caused by: com.jcraft.jsch.JSchException: Algorithm negotiation fail
at com.jcraft.jsch.Session.receive_kexinit(Session.java:529)
at com.jcraft.jsch.Session.connect(Session.java:291)
at net.sf.commons.ssh.jsch.JschConnectionFactory.connectUsingPassword(JschConnectionFactory.java:72)
Resolution
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
Above needs to be on one single line.
Related Articles
LDAP search error - [LDAPsearch] referral received 31Number of Views Generic REST Collector test fails with 'Unexpected response content type received. Expected content type is: application/j… 330Number of Views Error "This field cannot exceed 4000 characters" is received when adding membership rule in a Role in RSA Identity Governa… 9Number of Views Java error "Received fatal alert: handshake_failure" when opening RSA enVision Event Explorer 97Number of Views Users receiving emails for a deleted review result in RSA Via Lifecycle and Governance 51Number of Views
Trending Articles
Troubleshooting RSA SecurID Access Identity Router to RSA Authentication Manager test connection failures RSA SecurID Software Token 5.0.2 Downloads for Microsoft Windows RSA Authentication Manager 8.9 Release Notes (January 2026) Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory RSA Authentication Manager 8.8 Setup and Configuration Guide
Don't see what you're looking for?