public abstract class SshServerCliSupport extends CliSupport
| Modifier and Type | Field and Description |
|---|---|
static ShellFactory |
DEFAULT_SHELL_FACTORY |
static String |
SHELL_FACTORY_OPTION |
DEFAULT_IO_SERVICE_FACTORY| Modifier | Constructor and Description |
|---|---|
protected |
SshServerCliSupport() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.sshd.common.keyprovider.KeyPairProvider |
resolveServerKeys(PrintStream stderr,
String hostKeyType,
int hostKeySize,
Collection<String> keyFiles) |
static List<NamedFactory<Command>> |
resolveServerSubsystems(PrintStream stderr,
PropertyResolver options) |
static ShellFactory |
resolveShellFactory(PrintStream stderr,
PropertyResolver options) |
static Object |
setupServerBanner(ServerFactoryManager server,
PropertyResolver options) |
static ForwardingFilter |
setupServerForwarding(SshServer server,
PropertyResolver options) |
resolveIoServiceFactory, setupIoServiceFactory, showErrorpublic static final String SHELL_FACTORY_OPTION
public static final ShellFactory DEFAULT_SHELL_FACTORY
public static org.apache.sshd.common.keyprovider.KeyPairProvider resolveServerKeys(PrintStream stderr, String hostKeyType, int hostKeySize, Collection<String> keyFiles) throws Exception
Exceptionpublic static ForwardingFilter setupServerForwarding(SshServer server, PropertyResolver options)
public static Object setupServerBanner(ServerFactoryManager server, PropertyResolver options)
public static List<NamedFactory<Command>> resolveServerSubsystems(PrintStream stderr, PropertyResolver options) throws Exception
Exceptionpublic static ShellFactory resolveShellFactory(PrintStream stderr, PropertyResolver options) throws Exception
ExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.