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
Generic REST Collector test fails with 'Unexpected response content type received. Expected content type is: application/j… 328Number of Views LDAP search error - [LDAPsearch] referral received 31Number of Views Java error "Received fatal alert: handshake_failure" when opening RSA enVision Event Explorer 97Number 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 Users receiving emails for a deleted review result in RSA Via Lifecycle and Governance 50Number of Views
Trending Articles
Passwordless Authentication in Windows MFA Agent for Active Directory – Quick Setup Guide RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Authentication Manager Upgrade Process RSA Authentication Manager 8.7 SP2 Setup and Configuration Guide An example of SSO using SAML and ADFS with RSA Identity Management and Governance 6.9.x
Don't see what you're looking for?