HI,
I am not sure if you have the same issue with Jsch as we had, but give this a
go:
{code}
{
// change the order of PreferredAuthentications. put gssapi-with-mic as
last
String preferredAuthentications =
JSch.getConfig("PreferredAuthentications").replace("gssapi-with-mic", "")
.replace(",,", ",");
preferredAuthentications = StringUtils.strip(preferredAuthentications,
",") + ",gssapi-with-mic";
JSch.setConfig("PreferredAuthentications", preferredAuthentications);
}
{code}
It simply makes gssapi-with-mic the last authentication that will be used when
connecting. We had timeouts because of that authentication with a few servers...
With kind regards,
Hans Orbaan
-----Oorspronkelijk bericht-----
Van: Claus Ibsen [mailto:[email protected]]
Verzonden: Wednesday 30 March 2016 14:37
Aan: [email protected]
Onderwerp: Re: Camel ftp component : JSCH-0.1.44 Vs OpenSSH_6.6.1 issue: Leads
to error : com.jcraft.jsch.JSchException: Session.connect: java.io.IOException:
End of IO Stream Read
Give it a try. You can download the latest version and try it with Camel only
as you desire to do.
Also mind that Camel does not do the actual SSH/JSCH implementation.
It may also be an issue with that library so upgrading it or reporting to that
community may help.
On Wed, Mar 30, 2016 at 2:17 PM, sharma_arun_se <[email protected]> wrote:
> Hi Claus,
>
>
> Thanks for replying.
> We are planning to get rid of Fuse, ServiceMix and planning to use
> Camel only solution.
> Do you think Camel latest version have SSH/JSCH issue fixed. That is
> we do not face such issue with "Camel only" solution?
>
>
> I suppose, now I am asking question in right forum. This is what I found in:
> http://camel.apache.org/discussion-forums.html
>
> "Use the user forum for you Camel questions, and asking for help.
>
> Camel User Forum <-- Use this forum"
>
>
>
>
> -----
> Regards,
>
> Arun Kumar (sharma_arun_se)
>
> Expert SOA (Fuse ESB, Camel, ActiveMQ, OSGi) and RESTful Solution Architect,
> Open Source Contributor.
> linkedin: http://in.linkedin.com/in/aronkumar
> twitter: https://twitter.com/#!/SharmaArunKumar
> blog: http://techiesweek.blogspot.com/
> Gtalk: [email protected]
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-ftp-component-JSCH-0-1-44-Vs-O
> penSSH-6-6-1-issue-Leads-to-error-com-jcraft-jsch-JSchException-d-tp57
> 79854p5780023.html Sent from the Camel - Users mailing list archive at
> Nabble.com.
--
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2