Top Description Fields Constructors Methods
org.apache.sshd.server.config

public final Class SshServerConfigFileReader

extends Object
Class Inheritance
Imports
java.nio.file.Paths, java.time.Duration, java.util.Map, org.apache.sshd.common.Property, .PropertyResolver, .PropertyResolverUtils, org.apache.sshd.common.config.ConfigFileReaderSupport, .SshConfigFileReader, org.apache.sshd.common.session.SessionHeartbeatController.HeartbeatType, org.apache.sshd.common.util.GenericUtils, .MapEntryUtils, .ValidateUtils, org.apache.sshd.core.CoreModuleProperties, org.apache.sshd.server.ServerBuilder, .ServerFactoryManager, .SshServer, org.apache.sshd.server.forward.AcceptAllForwardingFilter, .AgentForwardingFilter, .ForwardingFilter, .TcpForwardingFilter, .X11ForwardingFilter

Reads and interprets some useful configurations from an OpenSSH configuration file.
Author
Apache MINA SSHD Project
See Also
sshd_config(5)

Field Summary

Modifier and TypeField and Description
public static final Property<String>
public static final Property<String>
public static final Property<String>
public static final Property<Duration>
public static final Property<Integer>
public static final Property<String>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static <S extends SshServer> S
configure(S server, PropertyResolver props, boolean lenient, boolean ignoreUnsupported)

public static AgentForwardingFilter
public static Object
public static ForwardingFilter
public static TcpForwardingFilter
public static X11ForwardingFilter
public static <S extends ServerFactoryManager> S
public static <S extends ServerFactoryManager> S
setupServerHeartbeat(S server, Map<String, ?> options)

public static <S extends ServerFactoryManager> S
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ALLOW_AGENT_FORWARDING_CONFIG_PROPback to summary
public static final Property<String> ALLOW_AGENT_FORWARDING_CONFIG_PROP
ALLOW_TCP_FORWARDING_CONFIG_PROPback to summary
public static final Property<String> ALLOW_TCP_FORWARDING_CONFIG_PROP
ALLOW_X11_FORWARDING_CONFIG_PROPback to summary
public static final Property<String> ALLOW_X11_FORWARDING_CONFIG_PROP
SERVER_ALIVE_INTERVAL_PROPback to summary
public static final Property<Duration> SERVER_ALIVE_INTERVAL_PROP
SFTP_FORCED_VERSION_PROPback to summary
public static final Property<Integer> SFTP_FORCED_VERSION_PROP
VISUAL_HOST_KEYback to summary
public static final Property<String> VISUAL_HOST_KEY

Constructor Detail

SshServerConfigFileReaderback to summary
private SshServerConfigFileReader()

Method Detail

configureback to summary
public static <S extends SshServer> S configure(S server, PropertyResolver props, boolean lenient, boolean ignoreUnsupported)
resolveAgentForwardingFilterback to summary
public static AgentForwardingFilter resolveAgentForwardingFilter(PropertyResolver options)
resolveBannerback to summary
public static Object resolveBanner(PropertyResolver options)
resolveServerForwardingback to summary
public static ForwardingFilter resolveServerForwarding(PropertyResolver options)
resolveTcpForwardingFilterback to summary
public static TcpForwardingFilter resolveTcpForwardingFilter(PropertyResolver options)
resolveX11ForwardingFilterback to summary
public static X11ForwardingFilter resolveX11ForwardingFilter(PropertyResolver options)
setupServerHeartbeatback to summary
public static <S extends ServerFactoryManager> S setupServerHeartbeat(S server, PropertyResolver props)
setupServerHeartbeatback to summary
public static <S extends ServerFactoryManager> S setupServerHeartbeat(S server, Map<String, ?> options)
setupSftpSubsystemback to summary
public static <S extends ServerFactoryManager> S setupSftpSubsystem(S server, PropertyResolver props)