{"action":"opened","issue":{"url":"https://api.github.com/repos/sshtools/j2ssh-maverick/issues/5","repository_url":"https://api.github.com/repos/sshtools/j2ssh-maverick","labels_url":"https://api.github.com/repos/sshtools/j2ssh-maverick/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/sshtools/j2ssh-maverick/issues/5/comments","events_url":"https://api.github.com/repos/sshtools/j2ssh-maverick/issues/5/events","html_url":"https://github.com/sshtools/j2ssh-maverick/issues/5","id":146288664,"number":5,"title":"Failed to process key exchange","user":{"login":"Pratappatil1992","id":12856797,"avatar_url":"https://avatars.githubusercontent.com/u/12856797?v=3","gravatar_id":"","url":"https://api.github.com/users/Pratappatil1992","html_url":"https://github.com/Pratappatil1992","followers_url":"https://api.github.com/users/Pratappatil1992/followers","following_url":"https://api.github.com/users/Pratappatil1992/following{/other_user}","gists_url":"https://api.github.com/users/Pratappatil1992/gists{/gist_id}","starred_url":"https://api.github.com/users/Pratappatil1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pratappatil1992/subscriptions","organizations_url":"https://api.github.com/users/Pratappatil1992/orgs","repos_url":"https://api.github.com/users/Pratappatil1992/repos","events_url":"https://api.github.com/users/Pratappatil1992/events{/privacy}","received_events_url":"https://api.github.com/users/Pratappatil1992/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-06T11:47:33Z","updated_at":"2016-04-06T11:47:33Z","closed_at":null,"body":"Hello,\r\nGreetings !!.\r\nI am facing issue to connect to remote SSH server with your latest version 1.5.4 and previously With version 1.5.3 my code is working well but when I updated version of  to 1.5.4 it started to give me error\r\n\r\nI am Using below Maven Dependency.\r\n\r\n<dependency>\r\n  <groupId>com.sshtools</groupId>\r\n  <artifactId>j2ssh-maverick</artifactId>\r\n  <version>1.5.4</version>\r\n</dependency> \r\n\r\nBelow is stack trace of Error.\r\n\r\ncom.sshtools.ssh.SshException: Failed to process key exchange [java.security.InvalidKeyException] [com.sshtools.ssh.SshException]\r\n\tat com.sshtools.ssh.SshConnector.connect(SshConnector.java:322)\r\n\tat com.sshtools.ssh.SshConnector.connect(SshConnector.java:169)\r\n\tat com.infiverve.flint.connector.ssh2.SSH2Service.enable(SSH2Service.java:66)\r\n\tat com.infiverve.flint.sdk.connectors.FlintConnectorBase.start(FlintConnectorBase.java:43)\r\n\tat io.vertx.core.AbstractVerticle.start(AbstractVerticle.java:111)\r\n\tat io.vertx.core.impl.DeploymentManager.lambda$doDeploy$169(DeploymentManager.java:407)\r\n\tat io.vertx.core.impl.ContextImpl.lambda$wrapTask$15(ContextImpl.java:314)\r\n\tat io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:357)\r\n\tat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)\r\n\tat io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: com.sshtools.ssh.SshException: Failed to process key exchange [java.security.InvalidKeyException]\r\n\tat com.sshtools.ssh.components.jce.DiffieHellmanEcdh.performClientExchange(DiffieHellmanEcdh.java:132)\r\n\tat com.sshtools.ssh2.TransportProtocol.performKeyExchange(TransportProtocol.java:1165)\r\n\tat com.sshtools.ssh2.TransportProtocol.processMessage(TransportProtocol.java:1541)\r\n\tat com.sshtools.ssh2.TransportProtocol.startTransportProtocol(TransportProtocol.java:353)\r\n\tat com.sshtools.ssh2.Ssh2Client.connect(Ssh2Client.java:140)\r\n\tat com.sshtools.ssh.SshConnector.connect(SshConnector.java:316)\r\n\t... 10 more\r\nCaused by: java.security.InvalidKeyException: Not an EC key: ECDH\r\n\tat sun.security.ec.ECKeyFactory.checkKey(ECKeyFactory.java:121)\r\n\tat sun.security.ec.ECKeyFactory.toECKey(ECKeyFactory.java:90)\r\n\tat sun.security.ec.ECDHKeyAgreement.engineInit(ECDHKeyAgreement.java:67)\r\n\tat javax.crypto.KeyAgreement.implInit(KeyAgreement.java:346)\r\n\tat javax.crypto.KeyAgreement.chooseProvider(KeyAgreement.java:378)\r\n\tat javax.crypto.KeyAgreement.init(KeyAgreement.java:470)\r\n\tat javax.crypto.KeyAgreement.init(KeyAgreement.java:441)\r\n\tat com.sshtools.ssh.components.jce.DiffieHellmanEcdh.performClientExchange(DiffieHellmanEcdh.java:86)\r\n"}}