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

Lyor Goldstein edited comment on SSHD-1242 at 1/28/22, 7:45 AM:
----------------------------------------------------------------

{quote}
is there a java service provider like a plugin in SSHD to implement remote code 
execution? 
{quote}
Again, I am not clear as to what you are asking - SFTP has nothing to do with 
remote code execution. The {{SftpFileSystemProvider}} implements a well 
known/documented API in Java (namely {{FileSystemProvider}}. Are you asking if 
there is such a standard API in Java for remote command execution ? I am not 
aware of a remote command execution equivalent  - but if you can point to some 
abstract {{RemoteCommandExecutor}} class that seems like it could be 
implemented over SSH I will be happy to look into it.


was (Author: lgoldstein):
{quote}
is there a java service provider like a plugin in SSHD to implement remote code 
execution? 
{quote}
Again, I am not clear as to what you are asking - SFTP has nothing to do with 
remote code execution. The {{SftpFileSystemProvider }} implements a well 
known/documented API in Java (namely {{FileSystemProvider}}. Are you asking if 
there is such a standard API in Java for remote command execution ? I am not 
aware of a remote command execution equivalent  - but if you can point to some 
abstract {{RemoteCommandExecutor}} class that seems like it could be 
implemented over SSH I will be happy to look into it.

> 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