Top Description Methods
org.apache.sshd.server.shell

public Interface ShellFactory

Known Direct Implementers
org.apache.sshd.server.shell.AggregateShellFactory, org.apache.sshd.server.shell.ProcessShellFactory
Imports
java.io.IOException, org.apache.sshd.server.channel.ChannelSession, org.apache.sshd.server.command.Command

Shell(s) are executed on the server side when a "shell" channel is established
Author
Apache MINA SSHD Project

Method Summary

Modifier and TypeMethod and Description
public Command

Returns:

The Command representing the shell to be executed
createShell
(ChannelSession
The ChannelSession through which the command has been received
channel
)

Method Detail

createShellback to summary
public Command createShell(ChannelSession channel) throws IOException
Parameters
channel:ChannelSession

The ChannelSession through which the command has been received

Returns:Command

The Command representing the shell to be executed

Exceptions
IOException:
If failed to create the shell