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

Guillaume Nodet commented on SSHD-1243:
---------------------------------------

It's not really git specific but definitely SSHD specific.

You can try to reuse it if you want, but there's nothing in the SSHD code that 
will provide the magic you're looking for executing remote command.

I suggest you read the doc at 
[https://github.com/apache/mina-sshd/blob/master/docs/client-setup.md#running-a-command-or-opening-a-shell]
 and try building a small test with the plain SSHD api using the 
{{{}Session.createExecChannel{}}}, you'll also find some examples at 
https://github.com/apache/mina-sshd/blob/da2958172281ef20e51681afe036bd42c9cf843a/sshd-core/src/test/java/org/apache/sshd/client/ClientTest.java.

> is GitSshdSessionProcess class Git specific? 
> ---------------------------------------------
>
>                 Key: SSHD-1243
>                 URL: https://issues.apache.org/jira/browse/SSHD-1243
>             Project: MINA SSHD
>          Issue Type: Question
>    Affects Versions: 2.8.0
>            Reporter: dgü
>            Priority: Major
>
> Hello!
> {{is org.apache.sshd.git.transport.GitSshdSessionProcess}} class Git specific 
> ?
> Is there a generic SSHD class extending java.lang.Process ?
> Thanks in advance!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to