Description
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.
Attachments
Attachments
Issue Links
- is depended upon by
-
MNG-5165 Problem with scp transport (wagon-maven-plugin 1.0-beta-3, Maven 2.2.1, Ubuntu 11.04)
- Closed