Class SshServerConfigFileReader
java.lang.Object
org.apache.sshd.server.config.SshServerConfigFileReader
Reads and interprets some useful configurations from an OpenSSH configuration file.
- Author:
- Apache MINA SSHD Project
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.sshd.common.Property<String> static final org.apache.sshd.common.Property<String> static final org.apache.sshd.common.Property<String> static final org.apache.sshd.common.Property<String> static final org.apache.sshd.common.Property<Duration> static final org.apache.sshd.common.Property<Integer> static final org.apache.sshd.common.Property<String> -
Method Summary
Modifier and TypeMethodDescriptionstatic <S extends SshServer>
Sconfigure(S server, org.apache.sshd.common.PropertyResolver props, boolean lenient, boolean ignoreUnsupported) static AgentForwardingFilterresolveAgentForwardingFilter(org.apache.sshd.common.PropertyResolver options) static ObjectresolveBanner(org.apache.sshd.common.PropertyResolver options) static ForwardingFilterresolveServerForwarding(org.apache.sshd.common.PropertyResolver options) static TcpForwardingFilterresolveTcpForwardingFilter(org.apache.sshd.common.PropertyResolver options) static X11ForwardingFilterresolveX11ForwardingFilter(org.apache.sshd.common.PropertyResolver options) static <S extends ServerFactoryManager>
SsetupServerHeartbeat(S server, Map<String, ?> options) static <S extends ServerFactoryManager>
SsetupServerHeartbeat(S server, org.apache.sshd.common.PropertyResolver props) static <S extends ServerFactoryManager>
SsetupSftpSubsystem(S server, org.apache.sshd.common.PropertyResolver props)
-
Field Details
-
ALLOW_TCP_FORWARDING_CONFIG_PROP
-
ALLOW_AGENT_FORWARDING_CONFIG_PROP
-
ALLOW_X11_FORWARDING_CONFIG_PROP
-
BANNER_CONFIG_PROP
-
VISUAL_HOST_KEY
-
SERVER_ALIVE_INTERVAL_PROP
-
SFTP_FORCED_VERSION_PROP
-
-
Method Details
-
setupServerHeartbeat
public static <S extends ServerFactoryManager> S setupServerHeartbeat(S server, org.apache.sshd.common.PropertyResolver props) -
setupServerHeartbeat
public static <S extends ServerFactoryManager> S setupServerHeartbeat(S server, Map<String, ?> options) -
setupSftpSubsystem
public static <S extends ServerFactoryManager> S setupSftpSubsystem(S server, org.apache.sshd.common.PropertyResolver props) -
configure
public static <S extends SshServer> S configure(S server, org.apache.sshd.common.PropertyResolver props, boolean lenient, boolean ignoreUnsupported) -
resolveServerForwarding
public static ForwardingFilter resolveServerForwarding(org.apache.sshd.common.PropertyResolver options) -
resolveAgentForwardingFilter
public static AgentForwardingFilter resolveAgentForwardingFilter(org.apache.sshd.common.PropertyResolver options) -
resolveTcpForwardingFilter
public static TcpForwardingFilter resolveTcpForwardingFilter(org.apache.sshd.common.PropertyResolver options) -
resolveX11ForwardingFilter
public static X11ForwardingFilter resolveX11ForwardingFilter(org.apache.sshd.common.PropertyResolver options) -
resolveBanner
-