[
https://issues.apache.org/jira/browse/CAMEL-4713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178770#comment-13178770
]
Ioannis Canellos commented on CAMEL-4713:
-----------------------------------------
Some comments about the ssh clients in java. So far I know of 3 efforts.
i) Jsch
ii) Mina SSH
iii) sshj https://github.com/shikhar/sshj
>From personal experience jsch is widely used, but in some cases it has its
>issues (for example there are cases where it needs quite a few retries with no
>apparent reason). I was using in jclouds-karaf for running scripts to remote
>hosts and ditched it.
I am a huge fan of mina, but I am not sure if its ssh client is of equivalent
quality with the server. I haven't seen projects using it and I have not used
it myself.
SSHJ works like a charm, is OSGi ready, supports all the things we would want
from an ssh client. There are a couple of projects using it and my personal
experience with is has been great.
So my opinion is:
-1 jsch
+0 mina (if it works without issues and supports things like rsa key auth etc,
I would go +1, but have no personal experience).
+1 sshj
> Create a camel component for SSH
> --------------------------------
>
> Key: CAMEL-4713
> URL: https://issues.apache.org/jira/browse/CAMEL-4713
> Project: Camel
> Issue Type: New Feature
> Reporter: Ioannis Canellos
> Fix For: 2.10
>
>
> Lately, I've seen a lot of questions in the mailing list for people that
> would want to use camel to execute SSH commands to remote hosts.
> I think it would be nice if we could provide such component to the users.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira