Package org.apache.sshd.server.shell
Interface ShellFactory
-
- All Known Implementing Classes:
AggregateShellFactory,InteractiveProcessShellFactory,ProcessShellFactory
public interface ShellFactoryShell(s) are executed on the server side when a "shell" channel is established- Author:
- Apache MINA SSHD Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommandcreateShell(ChannelSession channel)
-
-
-
Method Detail
-
createShell
Command createShell(ChannelSession channel) throws IOException
- Parameters:
channel- TheChannelSessionthrough which the command has been received- Returns:
- The
Commandrepresenting the shell to be executed - Throws:
IOException- If failed to create the shell
-
-