You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "tomaswolf (via GitHub)" <gi...@apache.org> on 2023/03/25 14:52:41 UTC

[GitHub] [mina-sshd] tomaswolf commented on issue #348: Exception when try to ssh connect to ssh server

tomaswolf commented on issue #348:
URL: https://github.com/apache/mina-sshd/issues/348#issuecomment-1483843514

   The documentation does not conform to the implementation. (Or vice versa.)
   
   I don't understand the implementation of ProcessShellFactory. It appears that it expects a full command-line string in the first argument, and that argument broken down into the remaining arguments. So a call like `new ProcessShellFactory("/bin/sh -i -l", "/bin/sh", "-i", "-l")` _should_ work.
   
   If you want to improve this to the first argument being the command and the remaining arguments the command arguments, feel free to provide a PR.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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