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

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

Let me clarify: What I meant is to execute command by a provider(plugin).

The argument may be {{Path}}, {{URI}}, {{String}}, etc. But, it's an executable.

For example:

bq. SSHRuntimeProvider#exec("ssh://user@host:///tmp/anExecutable");
bq. TelnetRuntimeProvider#exec("telnet://user@host:///tmp/anExecutable");
bq. DefaultRuntimeProvider#exec("file:///tmp/anExecutable");

As I understand, it is needed to write a custom service provider interface and 
its implementation.

Thank you for the responses.



> 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