question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

update jsch please!

See original GitHub issue

The latest version of Jsch is 0.1.46, and you are using a version that is 2 years old at least 0.1.31

$ find . -name "*.scala" -exec grep -i jsch {} \; -print
/** sbt interface for an Ivy ssh-based repository (ssh and sftp).  Requires the Jsch library.. */
./ivy/IvyInterface.scala
    lazy val ivySub = baseProject(file("ivy"), "Ivy") dependsOn(interfaceSub, launchInterfaceSub, logSub % "compile;test->test", ioSub % "compile;test->test", launchSub % "test->test") settings(ivy, jsch, httpclient)
./project/Sbt.scala
    lazy val jsch = lib("com.jcraft" % "jsch" % "0.1.31" intransitive() )
./project/Util.scala

A lot of bugs have been fixed in cryptography in the last two years! It took me 5 hours to work out what the problem was when I could not publish my files to my local repository. I was getting IOExceptions with a message “Algorithm negotiation fail” and this was my first time trying to publish, so it was a long and tedious path to find where the errors came from.

Issue Analytics

  • State:closed
  • Created 12 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
philliptaylorprocommented, May 15, 2018

The sbt tool is literally broken out of the box when following tutorials and trying to use the “sbt new” command. This is the experience all new scala developers are facing or even those casually copying tutorials:

HOST [08:40: git$] sbt new scala/hello-world.g8
[info] Loading global plugins from /home/phill/.sbt/0.13/plugins
[info] Set current project to git (in build file:/home/phill/git/)
org.eclipse.jgit.api.errors.TransportException: git@github.com:scala/hello-world.g8.git: Algorithm negotiation fail

I don’t want to sound to rude to people I’ve never spoken to, but I cannot stress what a serious bug this is and how it’s potentially hurting Scala’s adoption.

0reactions
bblfishcommented, Mar 18, 2012

thanks. I’ll send you feedback here as soon as I get around to it again, which should be soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Update jsch.jar - Talend Community
I ve found the solution - upgrade jsch-0.1.51 to jsch-0.1.54. ... Could you please try to rename your new .jar file with the...
Read more >
JSch - Java Secure Channel - JCraft, Inc.
JSch is a pure Java implementation of SSH2. JSch allows you to connect to an sshd server and use port forwarding, X11 forwarding,...
Read more >
1400692 – Update Jsch to 1.54 - Red Hat Bugzilla
Description of problem: Agent remote installer functionality depends on the default ciphers used in 1.51 and earlier, which results in the key exchange ......
Read more >
JSch Latest version - java - Stack Overflow
The section "Changes since version 0.1.52" actually describes, what is new in JSch 0.1.53. Definitely use the JSch 0.1.53.
Read more >
Mirth is not using the updated version of jsch
Hi everyone, please check out our new discussion forum located in our ... I am trying to connect via sFTP in Mirth and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found