[ http://jira.codehaus.org/browse/MNG-4241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thorsten Heit updated MNG-4241: ------------------------------- Attachment: wagon-ssh.patch A simple patch against the pom.xml of wagon-ssh 1.0-beta-7 to use a newer version of com.jcraft:jsch > Upgrade JCraft to v0.1.42 > ------------------------- > > Key: MNG-4241 > URL: http://jira.codehaus.org/browse/MNG-4241 > Project: Maven 2 & 3 > Issue Type: Bug > Components: General > Affects Versions: 2.2.0 > Reporter: Serg Maslyukov > Fix For: Issues to be reviewed for 3.x > > Attachments: wagon-ssh.patch > > > My provider HostGator.com update OpenSSH to latest version and when I try > connect via scp I get an error; > Caused by: org.apache.maven.wagon.authentication.AuthenticationException: > Cannot connect. Reason: Algorithm negotiation fail > at > org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon.openConnectionInternal(AbstractJschWagon.java:264) > at > org.apache.maven.wagon.AbstractWagon.openConnection(AbstractWagon.java:105) > at > org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:207) > at > org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:142) > at > org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:184) > ... 19 more > Caused by: com.jcraft.jsch.JSchException: Algorithm negotiation fail > at com.jcraft.jsch.Session.receive_kexinit(Session.java:506) > at com.jcraft.jsch.Session.connect(Session.java:285) > at com.jcraft.jsch.Session.connect(Session.java:149) > at > org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon.openConnectionInternal(AbstractJschWagon.java:236) > ... 23 more > This errro exist because Maven 2.2.0 used JCraft v0.1.38. > I manually replace old version of JCraft to latest v0.1.42 and now all work > fine. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira