[
https://issues.apache.org/jira/browse/SSHD-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483620#comment-17483620
]
Thomas Wolf commented on SSHD-1242:
-----------------------------------
AFAIK there is no such abstraction. The closest would be {{java.lang.Process}},
which can be implemented to run a command via a {{ChannelExec}} obtained from
{{ClientSession.createExecChannel()}}. Similar to
[GitSshdSessionProcess|https://github.com/apache/mina-sshd/blob/master/sshd-git/src/main/java/org/apache/sshd/git/transport/GitSshdSessionProcess.java].
> Java SPI for remote command execution
> -------------------------------------
>
> Key: SSHD-1242
> URL: https://issues.apache.org/jira/browse/SSHD-1242
> Project: MINA SSHD
> Issue Type: Question
> Affects Versions: 2.8.0
> Environment: Java SE 8, Apache NetBeans IDE 12.5
> Reporter: dgü
> Priority: Major
>
> Hello!
> I could use file the system provider for SFTP as defined in SSHD-1238.
> I'm searching a Java service provider for remote command execution. is it
> available in SSHD ? Or, is there any other API using SSHD for this ?
> Thanks in advance!
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]