[ 
https://issues.apache.org/jira/browse/SSHD-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483825#comment-17483825
 ] 

dgü commented on SSHD-1242:
---------------------------

Hello!
{quote}"Are you asking if there is such a standard API in Java for remote 
command execution ?"
{quote}
Yes! Sorry for the typo. I meant "remote command", not "remote code".

It would be nice to have a provider for {{java.lang.Runtime}} or 
{{{}java.lang.ProcessBuilder{}}}. So that, it would a plugin to execute remote 
command by different schemes/protocols.

For example: {{SSHRuntimeProvider#exec(java.nio.file.Path)}}

If there is no such java service provider interface in Java to implement, what 
else can we do as a workaround ?

Thanks!

> 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]

Reply via email to