[
https://issues.apache.org/jira/browse/SSHD-880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16740119#comment-16740119
]
Guillaume Nodet commented on SSHD-880:
--------------------------------------
Right, I can see where the tasks are implemented:
https://github.com/apache/ant/tree/master/src/main/org/apache/tools/ant/taskdefs/optional/ssh
Basically, you'd have to copy the whole code and migrate to the sshd api.
{{com.jcraft.jsch.Session}} ->
{{org.apache.sshd.client.session.ClientSession}}
{{com.jcraft.jsch.Channel}} ->
{{org.apache.sshd.client.channel.ChannelSession}}
Are you an ant committer ? If no you should consider donating the work there
once done. An alternative would be to host it in mina, but I think it makes
more sense in ant.
> Migrating from jsch to apache mina for ANT
> ------------------------------------------
>
> Key: SSHD-880
> URL: https://issues.apache.org/jira/browse/SSHD-880
> Project: MINA SSHD
> Issue Type: Question
> Reporter: Sharat Chandran
> Priority: Major
>
> We wanted to use apache mina for doing ssh tasks from within ant (instead of
> using jsch).
> Is this possible? If yes, do you have a set of steps which we should follow
> to get this done?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)