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 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 100Number of Views Generic REST Collector test fails with 'Unexpected response content type received. Expected content type is: application/j… 341Number of Views How to receive notifications for the new releases and maintenance schedules of RSA SecurID Access 23Number of Views
Trending Articles
RSA Authentication Manager 8.9 Release Notes (January 2026) AFX Server Fails to Start with 'Could Not Build a Validated Path' and 'Timed Out Waiting for AFX Applications to Start' in… AFX Server stuck in 'Not running' State, with error 'timed out waiting for AFX applications to start' Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory How to obtain the bundle logs from an RSA Cloud Authentication Service Identity Router
Don't see what you're looking for?