[
https://issues.apache.org/jira/browse/SSHD-932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zabee Ulla updated SSHD-932:
----------------------------
Description:
We are switching from Jsch to Apache MINA to connect and get a few tasks done
from remote hosts.
I need to achieve the following features,
* List files of a remote host
* Change directory of a remote host
* Get file contents as bytes from a remote host
* Put a file into the remote host
I have the following questions,
# How can I send a ZIP file to a remote host much easily in API level (not the
Shell commands level)? And all other operations in API level.
# Can I secure a connection between my localhost and remote through a
certificate?
# As of now, I am using SSHD-CORE and SSHD-COMMON version 2.2.0. Are these
libraries enough or do I need to include any other libraries?
# executeRemoteCommand() is stateless how can I maintain a state?
Sorry, if the questions sound naive.
Looking at this at an earlier opportunity will definitely help.
was:
We were using Jsch to SSH remote hosts and to get the tasks done. Now, we want
to switch to Apache Mina. I tried a few things like connecting and executing a
few Shell commands.
I need to achieve the following features,
* List files of a remote host
* Change directory of a remote host
* Get file contents as bytes from a remote host
* Put a file into the remote host
I have the following questions,
# Can Apache Mina comes with all those features that I need?
# I am so far successful in using session.executeRemoteCommand() to send Shell
commands to get the list files and get file contents. How can I write a ZIP
file to a remote host much easily in API level (not the Shell commands level)?
# Can I secure a connection between my localhost and remote through a
certificate?
# As of now, I am using SSHD-CORE and SSHD-COMMON version 2.2.0. Are these
libraries are enough or do I need to include any other libraries?
Sorry, if the questions sound naive.
Looking at this at an earlier opportunity will definitely help.
> File transfer to a remote Linux machine
> ---------------------------------------
>
> Key: SSHD-932
> URL: https://issues.apache.org/jira/browse/SSHD-932
> Project: MINA SSHD
> Issue Type: Question
> Affects Versions: 2.2.0
> Reporter: Zabee Ulla
> Priority: Major
>
> We are switching from Jsch to Apache MINA to connect and get a few tasks done
> from remote hosts.
> I need to achieve the following features,
> * List files of a remote host
> * Change directory of a remote host
> * Get file contents as bytes from a remote host
> * Put a file into the remote host
> I have the following questions,
> # How can I send a ZIP file to a remote host much easily in API level (not
> the Shell commands level)? And all other operations in API level.
> # Can I secure a connection between my localhost and remote through a
> certificate?
> # As of now, I am using SSHD-CORE and SSHD-COMMON version 2.2.0. Are these
> libraries enough or do I need to include any other libraries?
> # executeRemoteCommand() is stateless how can I maintain a state?
> Sorry, if the questions sound naive.
> Looking at this at an earlier opportunity will definitely help.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]