blob: d0881ddb732ef496e73293a4eb17c7a7f545d7f2 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_66) on Fri Jan 15 14:33:43 CET 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SshServer (Apache Mina SSHD :: Core 1.1.0 API)</title>
<meta name="date" content="2016-01-15">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SshServer (Apache Mina SSHD :: Core 1.1.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":9,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":9,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/SshServer.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/sshd/server/SignalListener.html" title="interface in org.apache.sshd.server"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/sshd/server/StandardEnvironment.html" title="class in org.apache.sshd.server"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/sshd/server/SshServer.html" target="_top">Frames</a></li>
<li><a href="SshServer.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.classes.inherited.from.class.org.apache.sshd.common.util.closeable.AbstractCloseable">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.sshd.server</div>
<h2 title="Class SshServer" class="title">Class SshServer</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/apache/sshd/common/util/logging/AbstractLoggingBean.html" title="class in org.apache.sshd.common.util.logging">org.apache.sshd.common.util.logging.AbstractLoggingBean</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/apache/sshd/common/util/closeable/IoBaseCloseable.html" title="class in org.apache.sshd.common.util.closeable">org.apache.sshd.common.util.closeable.IoBaseCloseable</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html" title="class in org.apache.sshd.common.util.closeable">org.apache.sshd.common.util.closeable.AbstractCloseable</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/apache/sshd/common/util/closeable/AbstractInnerCloseable.html" title="class in org.apache.sshd.common.util.closeable">org.apache.sshd.common.util.closeable.AbstractInnerCloseable</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html" title="class in org.apache.sshd.common.kex">org.apache.sshd.common.kex.AbstractKexFactoryManager</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html" title="class in org.apache.sshd.common">org.apache.sshd.common.AbstractFactoryManager</a></li>
<li>
<ul class="inheritance">
<li>org.apache.sshd.server.SshServer</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/channels/Channel.html?is-external=true" title="class or interface in java.nio.channels">Channel</a>, <a href="../../../../org/apache/sshd/common/channel/ChannelListenerManager.html" title="interface in org.apache.sshd.common.channel">ChannelListenerManager</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html" title="interface in org.apache.sshd.common">FactoryManager</a>, <a href="../../../../org/apache/sshd/common/kex/KexFactoryManager.html" title="interface in org.apache.sshd.common.kex">KexFactoryManager</a>, <a href="../../../../org/apache/sshd/common/keyprovider/KeyPairProviderHolder.html" title="interface in org.apache.sshd.common.keyprovider">KeyPairProviderHolder</a>, <a href="../../../../org/apache/sshd/common/PropertyResolver.html" title="interface in org.apache.sshd.common">PropertyResolver</a>, <a href="../../../../org/apache/sshd/common/session/SessionListenerManager.html" title="interface in org.apache.sshd.common.session">SessionListenerManager</a>, <a href="../../../../org/apache/sshd/common/signature/SignatureFactoriesManager.html" title="interface in org.apache.sshd.common.signature">SignatureFactoriesManager</a>, <a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html" title="interface in org.apache.sshd.server">ServerAuthenticationManager</a>, <a href="../../../../org/apache/sshd/server/ServerFactoryManager.html" title="interface in org.apache.sshd.server">ServerFactoryManager</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">SshServer</span>
extends <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html" title="class in org.apache.sshd.common">AbstractFactoryManager</a>
implements <a href="../../../../org/apache/sshd/server/ServerFactoryManager.html" title="interface in org.apache.sshd.server">ServerFactoryManager</a>, <a href="../../../../org/apache/sshd/common/Closeable.html" title="interface in org.apache.sshd.common">Closeable</a></pre>
<div class="block"><p>
The SshServer class is the main entry point for the server side of the SSH protocol.
</p>
<p>
The SshServer has to be configured before being started. Such configuration can be
done either using a dependency injection mechanism (such as the Spring framework)
or programmatically. Basic setup is usually done using the <a href="../../../../org/apache/sshd/server/SshServer.html#setUpDefaultServer--"><code>setUpDefaultServer()</code></a>
method, which will known ciphers, macs, channels, etc...
Besides this basic setup, a few things have to be manually configured such as the
port number, <a href="../../../../org/apache/sshd/common/Factory.html" title="interface in org.apache.sshd.common"><code>Factory</code></a>, the <a href="../../../../org/apache/sshd/common/keyprovider/KeyPairProvider.html" title="interface in org.apache.sshd.common.keyprovider"><code>KeyPairProvider</code></a>
and the <a href="../../../../org/apache/sshd/server/auth/password/PasswordAuthenticator.html" title="interface in org.apache.sshd.server.auth.password"><code>PasswordAuthenticator</code></a>.
</p>
<p>
Some properties can also be configured using the <a href="../../../../org/apache/sshd/common/PropertyResolverUtils.html" title="class in org.apache.sshd.common"><code>PropertyResolverUtils</code></a>
<code>updateProperty</code> methods.
</p>
Once the SshServer instance has been configured, it can be started using the
<a href="../../../../org/apache/sshd/server/SshServer.html#start--"><code>start()</code></a> method and stopped using the <a href="../../../../org/apache/sshd/server/SshServer.html#stop--"><code>stop()</code></a> method.</div>
<dl>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd><a href="mailto:dev@mina.apache.org">Apache MINA SSHD Project</a></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../org/apache/sshd/server/ServerFactoryManager.html" title="interface in org.apache.sshd.server"><code>ServerFactoryManager</code></a>,
<a href="../../../../org/apache/sshd/common/FactoryManager.html" title="interface in org.apache.sshd.common"><code>FactoryManager</code></a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.sshd.common.util.closeable.AbstractCloseable">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;org.apache.sshd.common.util.closeable.<a href="../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html" title="class in org.apache.sshd.common.util.closeable">AbstractCloseable</a></h3>
<code><a href="../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.State.html" title="enum in org.apache.sshd.common.util.closeable">AbstractCloseable.State</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.sshd.common.signature.SignatureFactoriesManager">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.apache.sshd.common.signature.<a href="../../../../org/apache/sshd/common/signature/SignatureFactoriesManager.html" title="interface in org.apache.sshd.common.signature">SignatureFactoriesManager</a></h3>
<code><a href="../../../../org/apache/sshd/common/signature/SignatureFactoriesManager.Utils.html" title="class in org.apache.sshd.common.signature">SignatureFactoriesManager.Utils</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.sshd.server.ServerAuthenticationManager">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.apache.sshd.server.<a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html" title="interface in org.apache.sshd.server">ServerAuthenticationManager</a></h3>
<code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.Utils.html" title="class in org.apache.sshd.server">ServerAuthenticationManager.Utils</a></code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/sshd/common/io/IoAcceptor.html" title="interface in org.apache.sshd.common.io">IoAcceptor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#acceptor">acceptor</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/sshd/common/ServiceFactory.html" title="interface in org.apache.sshd.common">ServiceFactory</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#DEFAULT_SERVICE_FACTORIES">DEFAULT_SERVICE_FACTORIES</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/sshd/common/Factory.html" title="interface in org.apache.sshd.common">Factory</a>&lt;<a href="../../../../org/apache/sshd/server/SshServer.html" title="class in org.apache.sshd.server">SshServer</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#DEFAULT_SSH_SERVER_FACTORY">DEFAULT_SSH_SERVER_FACTORY</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#host">host</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#port">port</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.sshd.common.AbstractFactoryManager">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.sshd.common.<a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html" title="class in org.apache.sshd.common">AbstractFactoryManager</a></h3>
<code><a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#agentFactory">agentFactory</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#channelFactories">channelFactories</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#channelListenerProxy">channelListenerProxy</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#channelListeners">channelListeners</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#executor">executor</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#fileSystemFactory">fileSystemFactory</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#globalRequestHandlers">globalRequestHandlers</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#ioServiceFactory">ioServiceFactory</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#ioServiceFactoryFactory">ioServiceFactoryFactory</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#randomFactory">randomFactory</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#serviceFactories">serviceFactories</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#sessionListenerProxy">sessionListenerProxy</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#sessionListeners">sessionListeners</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#sessionTimeoutListener">sessionTimeoutListener</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#shutdownExecutor">shutdownExecutor</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#tcpipForwarderFactory">tcpipForwarderFactory</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#tcpipForwardingFilter">tcpipForwardingFilter</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#timeoutListenerFuture">timeoutListenerFuture</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.sshd.common.util.closeable.AbstractCloseable">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.sshd.common.util.closeable.<a href="../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html" title="class in org.apache.sshd.common.util.closeable">AbstractCloseable</a></h3>
<code><a href="../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html#closeFuture">closeFuture</a>, <a href="../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html#lock">lock</a>, <a href="../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html#state">state</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.sshd.common.util.logging.AbstractLoggingBean">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.sshd.common.util.logging.<a href="../../../../org/apache/sshd/common/util/logging/AbstractLoggingBean.html" title="class in org.apache.sshd.common.util.logging">AbstractLoggingBean</a></h3>
<code><a href="../../../../org/apache/sshd/common/util/logging/AbstractLoggingBean.html#log">log</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.sshd.server.ServerFactoryManager">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.apache.sshd.server.<a href="../../../../org/apache/sshd/server/ServerFactoryManager.html" title="interface in org.apache.sshd.server">ServerFactoryManager</a></h3>
<code><a href="../../../../org/apache/sshd/server/ServerFactoryManager.html#AUTH_METHODS">AUTH_METHODS</a>, <a href="../../../../org/apache/sshd/server/ServerFactoryManager.html#COMMAND_EXIT_TIMEOUT">COMMAND_EXIT_TIMEOUT</a>, <a href="../../../../org/apache/sshd/server/ServerFactoryManager.html#DEFAULT_COMMAND_EXIT_TIMEOUT">DEFAULT_COMMAND_EXIT_TIMEOUT</a>, <a href="../../../../org/apache/sshd/server/ServerFactoryManager.html#DEFAULT_WELCOME_BANNER_LANGUAGE">DEFAULT_WELCOME_BANNER_LANGUAGE</a>, <a href="../../../../org/apache/sshd/server/ServerFactoryManager.html#MAX_CONCURRENT_SESSIONS">MAX_CONCURRENT_SESSIONS</a>, <a href="../../../../org/apache/sshd/server/ServerFactoryManager.html#MODULI_URL">MODULI_URL</a>, <a href="../../../../org/apache/sshd/server/ServerFactoryManager.html#SERVER_IDENTIFICATION">SERVER_IDENTIFICATION</a>, <a href="../../../../org/apache/sshd/server/ServerFactoryManager.html#WELCOME_BANNER">WELCOME_BANNER</a>, <a href="../../../../org/apache/sshd/server/ServerFactoryManager.html#WELCOME_BANNER_LANGUAGE">WELCOME_BANNER_LANGUAGE</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.sshd.common.FactoryManager">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.apache.sshd.common.<a href="../../../../org/apache/sshd/common/FactoryManager.html" title="interface in org.apache.sshd.common">FactoryManager</a></h3>
<code><a href="../../../../org/apache/sshd/common/FactoryManager.html#AUTH_TIMEOUT">AUTH_TIMEOUT</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#CHANNEL_CLOSE_TIMEOUT">CHANNEL_CLOSE_TIMEOUT</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#DEFAULT_AUTH_TIMEOUT">DEFAULT_AUTH_TIMEOUT</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#DEFAULT_CHANNEL_CLOSE_TIMEOUT">DEFAULT_CHANNEL_CLOSE_TIMEOUT</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#DEFAULT_DISCONNECT_TIMEOUT">DEFAULT_DISCONNECT_TIMEOUT</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#DEFAULT_IDLE_TIMEOUT">DEFAULT_IDLE_TIMEOUT</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#DEFAULT_IGNORE_MESSAGE_FREQUENCY">DEFAULT_IGNORE_MESSAGE_FREQUENCY</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#DEFAULT_IGNORE_MESSAGE_SIZE">DEFAULT_IGNORE_MESSAGE_SIZE</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#DEFAULT_IGNORE_MESSAGE_VARIANCE">DEFAULT_IGNORE_MESSAGE_VARIANCE</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#DEFAULT_MAX_PACKET_SIZE">DEFAULT_MAX_PACKET_SIZE</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#DEFAULT_NIO_WORKERS">DEFAULT_NIO_WORKERS</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#DEFAULT_REKEY_BYTES_LIMIT">DEFAULT_REKEY_BYTES_LIMIT</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#DEFAULT_REKEY_PACKETS_LIMIT">DEFAULT_REKEY_PACKETS_LIMIT</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#DEFAULT_REKEY_TIME_LIMIT">DEFAULT_REKEY_TIME_LIMIT</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#DEFAULT_VERSION">DEFAULT_VERSION</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#DEFAULT_WINDOW_SIZE">DEFAULT_WINDOW_SIZE</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#DEFAULT_WINDOW_TIMEOUT">DEFAULT_WINDOW_TIMEOUT</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#DISCONNECT_TIMEOUT">DISCONNECT_TIMEOUT</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#IDLE_TIMEOUT">IDLE_TIMEOUT</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#IGNORE_MESSAGE_FREQUENCY">IGNORE_MESSAGE_FREQUENCY</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#IGNORE_MESSAGE_SIZE">IGNORE_MESSAGE_SIZE</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#IGNORE_MESSAGE_VARIANCE">IGNORE_MESSAGE_VARIANCE</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#MAX_PACKET_SIZE">MAX_PACKET_SIZE</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#NIO_WORKERS">NIO_WORKERS</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#NIO2_READ_BUFFER_SIZE">NIO2_READ_BUFFER_SIZE</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#REKEY_BLOCKS_LIMIT">REKEY_BLOCKS_LIMIT</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#REKEY_BYTES_LIMIT">REKEY_BYTES_LIMIT</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#REKEY_PACKETS_LIMIT">REKEY_PACKETS_LIMIT</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#REKEY_TIME_LIMIT">REKEY_TIME_LIMIT</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#SOCKET_BACKLOG">SOCKET_BACKLOG</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#SOCKET_KEEPALIVE">SOCKET_KEEPALIVE</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#SOCKET_LINGER">SOCKET_LINGER</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#SOCKET_RCVBUF">SOCKET_RCVBUF</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#SOCKET_REUSEADDR">SOCKET_REUSEADDR</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#SOCKET_SNDBUF">SOCKET_SNDBUF</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#TCP_NODELAY">TCP_NODELAY</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#WINDOW_SIZE">WINDOW_SIZE</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#WINDOW_TIMEOUT">WINDOW_TIMEOUT</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.sshd.server.ServerAuthenticationManager">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.apache.sshd.server.<a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html" title="interface in org.apache.sshd.server">ServerAuthenticationManager</a></h3>
<code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html#DEFAULT_MAX_AUTH_REQUESTS">DEFAULT_MAX_AUTH_REQUESTS</a>, <a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html#MAX_AUTH_REQUESTS">MAX_AUTH_REQUESTS</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#SshServer--">SshServer</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#checkConfig--">checkConfig</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/sshd/common/io/IoAcceptor.html" title="interface in org.apache.sshd.common.io">IoAcceptor</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#createAcceptor--">createAcceptor</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/sshd/server/session/SessionFactory.html" title="class in org.apache.sshd.server.session">SessionFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#createSessionFactory--">createSessionFactory</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/sshd/common/session/AbstractSession.html" title="class in org.apache.sshd.common.session">AbstractSession</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#getActiveSessions--">getActiveSessions</a></span>()</code>
<div class="block">Obtain the list of active sessions.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/sshd/server/CommandFactory.html" title="interface in org.apache.sshd.server">CommandFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#getCommandFactory--">getCommandFactory</a></span>()</code>
<div class="block">Retrieve the <code>CommandFactory</code> to be used to process commands requests.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/sshd/server/auth/gss/GSSAuthenticator.html" title="class in org.apache.sshd.server.auth.gss">GSSAuthenticator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#getGSSAuthenticator--">getGSSAuthenticator</a></span>()</code>
<div class="block">Retrieve the <code>GSSAuthenticator</code> to be used by the SSH server.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#getHost--">getHost</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/sshd/server/auth/hostbased/HostBasedAuthenticator.html" title="interface in org.apache.sshd.server.auth.hostbased">HostBasedAuthenticator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#getHostBasedAuthenticator--">getHostBasedAuthenticator</a></span>()</code>
<div class="block">Retrieve the <code>HostBasedAuthenticator</code> to be used by the SSH server.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/sshd/common/Closeable.html" title="interface in org.apache.sshd.common">Closeable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#getInnerCloseable--">getInnerCloseable</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/sshd/server/auth/keyboard/KeyboardInteractiveAuthenticator.html" title="interface in org.apache.sshd.server.auth.keyboard">KeyboardInteractiveAuthenticator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#getKeyboardInteractiveAuthenticator--">getKeyboardInteractiveAuthenticator</a></span>()</code>
<div class="block">Retrieve the <code>KeyboardInteractiveAuthenticator</code> to be used by
the SSH server.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/sshd/server/auth/password/PasswordAuthenticator.html" title="interface in org.apache.sshd.server.auth.password">PasswordAuthenticator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#getPasswordAuthenticator--">getPasswordAuthenticator</a></span>()</code>
<div class="block">Retrieve the <code>PasswordAuthenticator</code> to be used by the SSH server.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#getPort--">getPort</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/sshd/server/auth/pubkey/PublickeyAuthenticator.html" title="interface in org.apache.sshd.server.auth.pubkey">PublickeyAuthenticator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#getPublickeyAuthenticator--">getPublickeyAuthenticator</a></span>()</code>
<div class="block">Retrieve the <code>PublickeyAuthenticator</code> to be used by SSH server.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/sshd/server/session/SessionFactory.html" title="class in org.apache.sshd.server.session">SessionFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#getSessionFactory--">getSessionFactory</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/sshd/common/Factory.html" title="interface in org.apache.sshd.common">Factory</a>&lt;<a href="../../../../org/apache/sshd/server/Command.html" title="interface in org.apache.sshd.server">Command</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#getShellFactory--">getShellFactory</a></span>()</code>
<div class="block">Retrieve the <code>ShellFactory</code> object to be used to create shells.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a>&lt;<a href="../../../../org/apache/sshd/server/Command.html" title="interface in org.apache.sshd.server">Command</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#getSubsystemFactories--">getSubsystemFactories</a></span>()</code>
<div class="block">Retrieve the list of named factories for <code>CommandFactory.Command</code> to
be used to create subsystems.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a>&lt;<a href="../../../../org/apache/sshd/server/auth/UserAuth.html" title="interface in org.apache.sshd.server.auth">UserAuth</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#getUserAuthFactories--">getUserAuthFactories</a></span>()</code>
<div class="block">Retrieve the list of named factories for <code>UserAuth</code> objects.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#main-java.lang.String:A-">main</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;args)</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#open--">open</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#setCommandFactory-org.apache.sshd.server.CommandFactory-">setCommandFactory</a></span>(<a href="../../../../org/apache/sshd/server/CommandFactory.html" title="interface in org.apache.sshd.server">CommandFactory</a>&nbsp;commandFactory)</code>&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#setGSSAuthenticator-org.apache.sshd.server.auth.gss.GSSAuthenticator-">setGSSAuthenticator</a></span>(<a href="../../../../org/apache/sshd/server/auth/gss/GSSAuthenticator.html" title="class in org.apache.sshd.server.auth.gss">GSSAuthenticator</a>&nbsp;gssAuthenticator)</code>&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#setHost-java.lang.String-">setHost</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;host)</code>&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#setHostBasedAuthenticator-org.apache.sshd.server.auth.hostbased.HostBasedAuthenticator-">setHostBasedAuthenticator</a></span>(<a href="../../../../org/apache/sshd/server/auth/hostbased/HostBasedAuthenticator.html" title="interface in org.apache.sshd.server.auth.hostbased">HostBasedAuthenticator</a>&nbsp;hostBasedAuthenticator)</code>&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#setKeyboardInteractiveAuthenticator-org.apache.sshd.server.auth.keyboard.KeyboardInteractiveAuthenticator-">setKeyboardInteractiveAuthenticator</a></span>(<a href="../../../../org/apache/sshd/server/auth/keyboard/KeyboardInteractiveAuthenticator.html" title="interface in org.apache.sshd.server.auth.keyboard">KeyboardInteractiveAuthenticator</a>&nbsp;interactiveAuthenticator)</code>&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#setPasswordAuthenticator-org.apache.sshd.server.auth.password.PasswordAuthenticator-">setPasswordAuthenticator</a></span>(<a href="../../../../org/apache/sshd/server/auth/password/PasswordAuthenticator.html" title="interface in org.apache.sshd.server.auth.password">PasswordAuthenticator</a>&nbsp;passwordAuthenticator)</code>&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#setPort-int-">setPort</a></span>(int&nbsp;port)</code>
<div class="block">Configure the port number to use for this SSH server.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#setPublickeyAuthenticator-org.apache.sshd.server.auth.pubkey.PublickeyAuthenticator-">setPublickeyAuthenticator</a></span>(<a href="../../../../org/apache/sshd/server/auth/pubkey/PublickeyAuthenticator.html" title="interface in org.apache.sshd.server.auth.pubkey">PublickeyAuthenticator</a>&nbsp;publickeyAuthenticator)</code>&nbsp;</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#setSessionFactory-org.apache.sshd.server.session.SessionFactory-">setSessionFactory</a></span>(<a href="../../../../org/apache/sshd/server/session/SessionFactory.html" title="class in org.apache.sshd.server.session">SessionFactory</a>&nbsp;sessionFactory)</code>&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#setShellFactory-org.apache.sshd.common.Factory-">setShellFactory</a></span>(<a href="../../../../org/apache/sshd/common/Factory.html" title="interface in org.apache.sshd.common">Factory</a>&lt;<a href="../../../../org/apache/sshd/server/Command.html" title="interface in org.apache.sshd.server">Command</a>&gt;&nbsp;shellFactory)</code>&nbsp;</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#setSubsystemFactories-java.util.List-">setSubsystemFactories</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a>&lt;<a href="../../../../org/apache/sshd/server/Command.html" title="interface in org.apache.sshd.server">Command</a>&gt;&gt;&nbsp;subsystemFactories)</code>&nbsp;</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#setTcpipForwardingFilter-org.apache.sshd.server.forward.ForwardingFilter-">setTcpipForwardingFilter</a></span>(<a href="../../../../org/apache/sshd/server/forward/ForwardingFilter.html" title="interface in org.apache.sshd.server.forward">ForwardingFilter</a>&nbsp;forwardingFilter)</code>&nbsp;</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/sshd/server/SshServer.html" title="class in org.apache.sshd.server">SshServer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#setUpDefaultServer--">setUpDefaultServer</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#setUserAuthFactories-java.util.List-">setUserAuthFactories</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a>&lt;<a href="../../../../org/apache/sshd/server/auth/UserAuth.html" title="interface in org.apache.sshd.server.auth">UserAuth</a>&gt;&gt;&nbsp;userAuthFactories)</code>&nbsp;</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#start--">start</a></span>()</code>
<div class="block">Start the SSH server and accept incoming exceptions on the configured port.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#stop--">stop</a></span>()</code>
<div class="block">Stop the SSH server.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#stop-boolean-">stop</a></span>(boolean&nbsp;immediately)</code>&nbsp;</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/server/SshServer.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.AbstractFactoryManager">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.sshd.common.<a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html" title="class in org.apache.sshd.common">AbstractFactoryManager</a></h3>
<code><a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#addChannelListener-org.apache.sshd.common.channel.ChannelListener-">addChannelListener</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#addSessionListener-org.apache.sshd.common.session.SessionListener-">addSessionListener</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#createSessionTimeoutListener--">createSessionTimeoutListener</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#getAgentFactory--">getAgentFactory</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#getChannelFactories--">getChannelFactories</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#getChannelListenerProxy--">getChannelListenerProxy</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#getFileSystemFactory--">getFileSystemFactory</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#getGlobalRequestHandlers--">getGlobalRequestHandlers</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#getIoServiceFactory--">getIoServiceFactory</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#getIoServiceFactoryFactory--">getIoServiceFactoryFactory</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#getNioWorkers--">getNioWorkers</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#getParentPropertyResolver--">getParentPropertyResolver</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#getProperties--">getProperties</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#getRandomFactory--">getRandomFactory</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#getScheduledExecutorService--">getScheduledExecutorService</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#getServiceFactories--">getServiceFactories</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#getSessionListenerProxy--">getSessionListenerProxy</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#getTcpipForwarderFactory--">getTcpipForwarderFactory</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#getTcpipForwardingFilter--">getTcpipForwardingFilter</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#getVersion--">getVersion</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#removeChannelListener-org.apache.sshd.common.channel.ChannelListener-">removeChannelListener</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#removeSessionListener-org.apache.sshd.common.session.SessionListener-">removeSessionListener</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#removeSessionTimeout-org.apache.sshd.common.session.AbstractSessionFactory-">removeSessionTimeout</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#setAgentFactory-org.apache.sshd.agent.SshAgentFactory-">setAgentFactory</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#setChannelFactories-java.util.List-">setChannelFactories</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#setFileSystemFactory-org.apache.sshd.common.file.FileSystemFactory-">setFileSystemFactory</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#setGlobalRequestHandlers-java.util.List-">setGlobalRequestHandlers</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#setIoServiceFactoryFactory-org.apache.sshd.common.io.IoServiceFactoryFactory-">setIoServiceFactoryFactory</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#setNioWorkers-int-">setNioWorkers</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#setRandomFactory-org.apache.sshd.common.Factory-">setRandomFactory</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#setScheduledExecutorService-java.util.concurrent.ScheduledExecutorService-">setScheduledExecutorService</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#setScheduledExecutorService-java.util.concurrent.ScheduledExecutorService-boolean-">setScheduledExecutorService</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#setServiceFactories-java.util.List-">setServiceFactories</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#setTcpipForwarderFactory-org.apache.sshd.common.forward.TcpipForwarderFactory-">setTcpipForwarderFactory</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#setupSessionTimeout-org.apache.sshd.common.session.AbstractSessionFactory-">setupSessionTimeout</a>, <a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#stopSessionTimeoutListener-org.apache.sshd.common.session.AbstractSessionFactory-">stopSessionTimeoutListener</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.kex.AbstractKexFactoryManager">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.sshd.common.kex.<a href="../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html" title="class in org.apache.sshd.common.kex">AbstractKexFactoryManager</a></h3>
<code><a href="../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#getCipherFactories--">getCipherFactories</a>, <a href="../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#getCompressionFactories--">getCompressionFactories</a>, <a href="../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#getKeyExchangeFactories--">getKeyExchangeFactories</a>, <a href="../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#getKeyPairProvider--">getKeyPairProvider</a>, <a href="../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#getMacFactories--">getMacFactories</a>, <a href="../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#getSignatureFactories--">getSignatureFactories</a>, <a href="../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#resolveEffectiveFactories-java.lang.Class-java.util.List-java.util.List-">resolveEffectiveFactories</a>, <a href="../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#resolveEffectiveProvider-java.lang.Class-V-V-">resolveEffectiveProvider</a>, <a href="../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#setCipherFactories-java.util.List-">setCipherFactories</a>, <a href="../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#setCompressionFactories-java.util.List-">setCompressionFactories</a>, <a href="../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#setKeyExchangeFactories-java.util.List-">setKeyExchangeFactories</a>, <a href="../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#setKeyPairProvider-org.apache.sshd.common.keyprovider.KeyPairProvider-">setKeyPairProvider</a>, <a href="../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#setMacFactories-java.util.List-">setMacFactories</a>, <a href="../../../../org/apache/sshd/common/kex/AbstractKexFactoryManager.html#setSignatureFactories-java.util.List-">setSignatureFactories</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.util.closeable.AbstractInnerCloseable">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.sshd.common.util.closeable.<a href="../../../../org/apache/sshd/common/util/closeable/AbstractInnerCloseable.html" title="class in org.apache.sshd.common.util.closeable">AbstractInnerCloseable</a></h3>
<code><a href="../../../../org/apache/sshd/common/util/closeable/AbstractInnerCloseable.html#doCloseGracefully--">doCloseGracefully</a>, <a href="../../../../org/apache/sshd/common/util/closeable/AbstractInnerCloseable.html#doCloseImmediately--">doCloseImmediately</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.util.closeable.AbstractCloseable">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.sshd.common.util.closeable.<a href="../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html" title="class in org.apache.sshd.common.util.closeable">AbstractCloseable</a></h3>
<code><a href="../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html#builder--">builder</a>, <a href="../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html#close-boolean-">close</a>, <a href="../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html#isClosed--">isClosed</a>, <a href="../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html#isClosing--">isClosing</a>, <a href="../../../../org/apache/sshd/common/util/closeable/AbstractCloseable.html#preClose--">preClose</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.util.closeable.IoBaseCloseable">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.sshd.common.util.closeable.<a href="../../../../org/apache/sshd/common/util/closeable/IoBaseCloseable.html" title="class in org.apache.sshd.common.util.closeable">IoBaseCloseable</a></h3>
<code><a href="../../../../org/apache/sshd/common/util/closeable/IoBaseCloseable.html#close--">close</a>, <a href="../../../../org/apache/sshd/common/util/closeable/IoBaseCloseable.html#isOpen--">isOpen</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.FactoryManager">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.sshd.common.<a href="../../../../org/apache/sshd/common/FactoryManager.html" title="interface in org.apache.sshd.common">FactoryManager</a></h3>
<code><a href="../../../../org/apache/sshd/common/FactoryManager.html#getAgentFactory--">getAgentFactory</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#getChannelFactories--">getChannelFactories</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#getFileSystemFactory--">getFileSystemFactory</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#getGlobalRequestHandlers--">getGlobalRequestHandlers</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#getIoServiceFactory--">getIoServiceFactory</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#getRandomFactory--">getRandomFactory</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#getScheduledExecutorService--">getScheduledExecutorService</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#getServiceFactories--">getServiceFactories</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#getTcpipForwarderFactory--">getTcpipForwarderFactory</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#getTcpipForwardingFilter--">getTcpipForwardingFilter</a>, <a href="../../../../org/apache/sshd/common/FactoryManager.html#getVersion--">getVersion</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.kex.KexFactoryManager">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.sshd.common.kex.<a href="../../../../org/apache/sshd/common/kex/KexFactoryManager.html" title="interface in org.apache.sshd.common.kex">KexFactoryManager</a></h3>
<code><a href="../../../../org/apache/sshd/common/kex/KexFactoryManager.html#getCipherFactories--">getCipherFactories</a>, <a href="../../../../org/apache/sshd/common/kex/KexFactoryManager.html#getCompressionFactories--">getCompressionFactories</a>, <a href="../../../../org/apache/sshd/common/kex/KexFactoryManager.html#getKeyExchangeFactories--">getKeyExchangeFactories</a>, <a href="../../../../org/apache/sshd/common/kex/KexFactoryManager.html#getMacFactories--">getMacFactories</a>, <a href="../../../../org/apache/sshd/common/kex/KexFactoryManager.html#setCipherFactories-java.util.List-">setCipherFactories</a>, <a href="../../../../org/apache/sshd/common/kex/KexFactoryManager.html#setCompressionFactories-java.util.List-">setCompressionFactories</a>, <a href="../../../../org/apache/sshd/common/kex/KexFactoryManager.html#setKeyExchangeFactories-java.util.List-">setKeyExchangeFactories</a>, <a href="../../../../org/apache/sshd/common/kex/KexFactoryManager.html#setMacFactories-java.util.List-">setMacFactories</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.keyprovider.KeyPairProviderHolder">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.sshd.common.keyprovider.<a href="../../../../org/apache/sshd/common/keyprovider/KeyPairProviderHolder.html" title="interface in org.apache.sshd.common.keyprovider">KeyPairProviderHolder</a></h3>
<code><a href="../../../../org/apache/sshd/common/keyprovider/KeyPairProviderHolder.html#getKeyPairProvider--">getKeyPairProvider</a>, <a href="../../../../org/apache/sshd/common/keyprovider/KeyPairProviderHolder.html#setKeyPairProvider-org.apache.sshd.common.keyprovider.KeyPairProvider-">setKeyPairProvider</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.signature.SignatureFactoriesManager">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.sshd.common.signature.<a href="../../../../org/apache/sshd/common/signature/SignatureFactoriesManager.html" title="interface in org.apache.sshd.common.signature">SignatureFactoriesManager</a></h3>
<code><a href="../../../../org/apache/sshd/common/signature/SignatureFactoriesManager.html#getSignatureFactories--">getSignatureFactories</a>, <a href="../../../../org/apache/sshd/common/signature/SignatureFactoriesManager.html#setSignatureFactories-java.util.List-">setSignatureFactories</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.session.SessionListenerManager">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.sshd.common.session.<a href="../../../../org/apache/sshd/common/session/SessionListenerManager.html" title="interface in org.apache.sshd.common.session">SessionListenerManager</a></h3>
<code><a href="../../../../org/apache/sshd/common/session/SessionListenerManager.html#addSessionListener-org.apache.sshd.common.session.SessionListener-">addSessionListener</a>, <a href="../../../../org/apache/sshd/common/session/SessionListenerManager.html#getSessionListenerProxy--">getSessionListenerProxy</a>, <a href="../../../../org/apache/sshd/common/session/SessionListenerManager.html#removeSessionListener-org.apache.sshd.common.session.SessionListener-">removeSessionListener</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.channel.ChannelListenerManager">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.sshd.common.channel.<a href="../../../../org/apache/sshd/common/channel/ChannelListenerManager.html" title="interface in org.apache.sshd.common.channel">ChannelListenerManager</a></h3>
<code><a href="../../../../org/apache/sshd/common/channel/ChannelListenerManager.html#addChannelListener-org.apache.sshd.common.channel.ChannelListener-">addChannelListener</a>, <a href="../../../../org/apache/sshd/common/channel/ChannelListenerManager.html#getChannelListenerProxy--">getChannelListenerProxy</a>, <a href="../../../../org/apache/sshd/common/channel/ChannelListenerManager.html#removeChannelListener-org.apache.sshd.common.channel.ChannelListener-">removeChannelListener</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.PropertyResolver">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.sshd.common.<a href="../../../../org/apache/sshd/common/PropertyResolver.html" title="interface in org.apache.sshd.common">PropertyResolver</a></h3>
<code><a href="../../../../org/apache/sshd/common/PropertyResolver.html#getParentPropertyResolver--">getParentPropertyResolver</a>, <a href="../../../../org/apache/sshd/common/PropertyResolver.html#getProperties--">getProperties</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.sshd.common.Closeable">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.sshd.common.<a href="../../../../org/apache/sshd/common/Closeable.html" title="interface in org.apache.sshd.common">Closeable</a></h3>
<code><a href="../../../../org/apache/sshd/common/Closeable.html#close-boolean-">close</a>, <a href="../../../../org/apache/sshd/common/Closeable.html#isClosed--">isClosed</a>, <a href="../../../../org/apache/sshd/common/Closeable.html#isClosing--">isClosing</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.nio.channels.Channel">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;java.nio.channels.<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/channels/Channel.html?is-external=true" title="class or interface in java.nio.channels">Channel</a></h3>
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/nio/channels/Channel.html?is-external=true#close--" title="class or interface in java.nio.channels">close</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/channels/Channel.html?is-external=true#isOpen--" title="class or interface in java.nio.channels">isOpen</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="DEFAULT_SSH_SERVER_FACTORY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_SSH_SERVER_FACTORY</h4>
<pre>public static final&nbsp;<a href="../../../../org/apache/sshd/common/Factory.html" title="interface in org.apache.sshd.common">Factory</a>&lt;<a href="../../../../org/apache/sshd/server/SshServer.html" title="class in org.apache.sshd.server">SshServer</a>&gt; DEFAULT_SSH_SERVER_FACTORY</pre>
</li>
</ul>
<a name="DEFAULT_SERVICE_FACTORIES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_SERVICE_FACTORIES</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/sshd/common/ServiceFactory.html" title="interface in org.apache.sshd.common">ServiceFactory</a>&gt; DEFAULT_SERVICE_FACTORIES</pre>
</li>
</ul>
<a name="acceptor">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>acceptor</h4>
<pre>protected&nbsp;<a href="../../../../org/apache/sshd/common/io/IoAcceptor.html" title="interface in org.apache.sshd.common.io">IoAcceptor</a> acceptor</pre>
</li>
</ul>
<a name="host">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>host</h4>
<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> host</pre>
</li>
</ul>
<a name="port">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>port</h4>
<pre>protected&nbsp;int port</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="SshServer--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SshServer</h4>
<pre>public&nbsp;SshServer()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getHost--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHost</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getHost()</pre>
</li>
</ul>
<a name="setHost-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHost</h4>
<pre>public&nbsp;void&nbsp;setHost(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;host)</pre>
</li>
</ul>
<a name="getPort--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPort</h4>
<pre>public&nbsp;int&nbsp;getPort()</pre>
</li>
</ul>
<a name="setPort-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPort</h4>
<pre>public&nbsp;void&nbsp;setPort(int&nbsp;port)</pre>
<div class="block">Configure the port number to use for this SSH server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>port</code> - the port number for this SSH server</dd>
</dl>
</li>
</ul>
<a name="getUserAuthFactories--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserAuthFactories</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a>&lt;<a href="../../../../org/apache/sshd/server/auth/UserAuth.html" title="interface in org.apache.sshd.server.auth">UserAuth</a>&gt;&gt;&nbsp;getUserAuthFactories()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html#getUserAuthFactories--">ServerAuthenticationManager</a></code></span></div>
<div class="block">Retrieve the list of named factories for <code>UserAuth</code> objects.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html#getUserAuthFactories--">getUserAuthFactories</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html" title="interface in org.apache.sshd.server">ServerAuthenticationManager</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a list of named <code>UserAuth</code> factories, never <code>null</code>/empty</dd>
</dl>
</li>
</ul>
<a name="setUserAuthFactories-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUserAuthFactories</h4>
<pre>public&nbsp;void&nbsp;setUserAuthFactories(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a>&lt;<a href="../../../../org/apache/sshd/server/auth/UserAuth.html" title="interface in org.apache.sshd.server.auth">UserAuth</a>&gt;&gt;&nbsp;userAuthFactories)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html#setUserAuthFactories-java.util.List-">setUserAuthFactories</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html" title="interface in org.apache.sshd.server">ServerAuthenticationManager</a></code></dd>
</dl>
</li>
</ul>
<a name="getShellFactory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShellFactory</h4>
<pre>public&nbsp;<a href="../../../../org/apache/sshd/common/Factory.html" title="interface in org.apache.sshd.common">Factory</a>&lt;<a href="../../../../org/apache/sshd/server/Command.html" title="interface in org.apache.sshd.server">Command</a>&gt;&nbsp;getShellFactory()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerFactoryManager.html#getShellFactory--">ServerFactoryManager</a></code></span></div>
<div class="block">Retrieve the <code>ShellFactory</code> object to be used to create shells.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/sshd/server/ServerFactoryManager.html#getShellFactory--">getShellFactory</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerFactoryManager.html" title="interface in org.apache.sshd.server">ServerFactoryManager</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a valid <code>ShellFactory</code> object or <code>null</code> if shells
are not supported on this server</dd>
</dl>
</li>
</ul>
<a name="setShellFactory-org.apache.sshd.common.Factory-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setShellFactory</h4>
<pre>public&nbsp;void&nbsp;setShellFactory(<a href="../../../../org/apache/sshd/common/Factory.html" title="interface in org.apache.sshd.common">Factory</a>&lt;<a href="../../../../org/apache/sshd/server/Command.html" title="interface in org.apache.sshd.server">Command</a>&gt;&nbsp;shellFactory)</pre>
</li>
</ul>
<a name="getSessionFactory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSessionFactory</h4>
<pre>public&nbsp;<a href="../../../../org/apache/sshd/server/session/SessionFactory.html" title="class in org.apache.sshd.server.session">SessionFactory</a>&nbsp;getSessionFactory()</pre>
</li>
</ul>
<a name="setSessionFactory-org.apache.sshd.server.session.SessionFactory-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSessionFactory</h4>
<pre>public&nbsp;void&nbsp;setSessionFactory(<a href="../../../../org/apache/sshd/server/session/SessionFactory.html" title="class in org.apache.sshd.server.session">SessionFactory</a>&nbsp;sessionFactory)</pre>
</li>
</ul>
<a name="getCommandFactory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCommandFactory</h4>
<pre>public&nbsp;<a href="../../../../org/apache/sshd/server/CommandFactory.html" title="interface in org.apache.sshd.server">CommandFactory</a>&nbsp;getCommandFactory()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerFactoryManager.html#getCommandFactory--">ServerFactoryManager</a></code></span></div>
<div class="block">Retrieve the <code>CommandFactory</code> to be used to process commands requests.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/sshd/server/ServerFactoryManager.html#getCommandFactory--">getCommandFactory</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerFactoryManager.html" title="interface in org.apache.sshd.server">ServerFactoryManager</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a valid <code>CommandFactory</code> object or <code>null</code> if commands
are not supported on this server</dd>
</dl>
</li>
</ul>
<a name="setCommandFactory-org.apache.sshd.server.CommandFactory-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCommandFactory</h4>
<pre>public&nbsp;void&nbsp;setCommandFactory(<a href="../../../../org/apache/sshd/server/CommandFactory.html" title="interface in org.apache.sshd.server">CommandFactory</a>&nbsp;commandFactory)</pre>
</li>
</ul>
<a name="getSubsystemFactories--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubsystemFactories</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a>&lt;<a href="../../../../org/apache/sshd/server/Command.html" title="interface in org.apache.sshd.server">Command</a>&gt;&gt;&nbsp;getSubsystemFactories()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerFactoryManager.html#getSubsystemFactories--">ServerFactoryManager</a></code></span></div>
<div class="block">Retrieve the list of named factories for <code>CommandFactory.Command</code> to
be used to create subsystems.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/sshd/server/ServerFactoryManager.html#getSubsystemFactories--">getSubsystemFactories</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerFactoryManager.html" title="interface in org.apache.sshd.server">ServerFactoryManager</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a list of named <code>CommandFactory.Command</code> factories
or <code>null</code> if subsystems are not supported on this server</dd>
</dl>
</li>
</ul>
<a name="setSubsystemFactories-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSubsystemFactories</h4>
<pre>public&nbsp;void&nbsp;setSubsystemFactories(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a>&lt;<a href="../../../../org/apache/sshd/server/Command.html" title="interface in org.apache.sshd.server">Command</a>&gt;&gt;&nbsp;subsystemFactories)</pre>
</li>
</ul>
<a name="getPasswordAuthenticator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPasswordAuthenticator</h4>
<pre>public&nbsp;<a href="../../../../org/apache/sshd/server/auth/password/PasswordAuthenticator.html" title="interface in org.apache.sshd.server.auth.password">PasswordAuthenticator</a>&nbsp;getPasswordAuthenticator()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html#getPasswordAuthenticator--">ServerAuthenticationManager</a></code></span></div>
<div class="block">Retrieve the <code>PasswordAuthenticator</code> to be used by the SSH server.
If no authenticator has been configured (i.e. this method returns
<code>null</code>), then client authentication requests based on passwords
will be rejected.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html#getPasswordAuthenticator--">getPasswordAuthenticator</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html" title="interface in org.apache.sshd.server">ServerAuthenticationManager</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="../../../../org/apache/sshd/server/auth/password/PasswordAuthenticator.html" title="interface in org.apache.sshd.server.auth.password"><code>PasswordAuthenticator</code></a> or <code>null</code></dd>
</dl>
</li>
</ul>
<a name="setPasswordAuthenticator-org.apache.sshd.server.auth.password.PasswordAuthenticator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPasswordAuthenticator</h4>
<pre>public&nbsp;void&nbsp;setPasswordAuthenticator(<a href="../../../../org/apache/sshd/server/auth/password/PasswordAuthenticator.html" title="interface in org.apache.sshd.server.auth.password">PasswordAuthenticator</a>&nbsp;passwordAuthenticator)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html#setPasswordAuthenticator-org.apache.sshd.server.auth.password.PasswordAuthenticator-">setPasswordAuthenticator</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html" title="interface in org.apache.sshd.server">ServerAuthenticationManager</a></code></dd>
</dl>
</li>
</ul>
<a name="getPublickeyAuthenticator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPublickeyAuthenticator</h4>
<pre>public&nbsp;<a href="../../../../org/apache/sshd/server/auth/pubkey/PublickeyAuthenticator.html" title="interface in org.apache.sshd.server.auth.pubkey">PublickeyAuthenticator</a>&nbsp;getPublickeyAuthenticator()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html#getPublickeyAuthenticator--">ServerAuthenticationManager</a></code></span></div>
<div class="block">Retrieve the <code>PublickeyAuthenticator</code> to be used by SSH server.
If no authenticator has been configured (i.e. this method returns
<code>null</code>), then client authentication requests based on keys will be
rejected.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html#getPublickeyAuthenticator--">getPublickeyAuthenticator</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html" title="interface in org.apache.sshd.server">ServerAuthenticationManager</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="../../../../org/apache/sshd/server/auth/pubkey/PublickeyAuthenticator.html" title="interface in org.apache.sshd.server.auth.pubkey"><code>PublickeyAuthenticator</code></a> or <code>null</code></dd>
</dl>
</li>
</ul>
<a name="setPublickeyAuthenticator-org.apache.sshd.server.auth.pubkey.PublickeyAuthenticator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPublickeyAuthenticator</h4>
<pre>public&nbsp;void&nbsp;setPublickeyAuthenticator(<a href="../../../../org/apache/sshd/server/auth/pubkey/PublickeyAuthenticator.html" title="interface in org.apache.sshd.server.auth.pubkey">PublickeyAuthenticator</a>&nbsp;publickeyAuthenticator)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html#setPublickeyAuthenticator-org.apache.sshd.server.auth.pubkey.PublickeyAuthenticator-">setPublickeyAuthenticator</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html" title="interface in org.apache.sshd.server">ServerAuthenticationManager</a></code></dd>
</dl>
</li>
</ul>
<a name="getKeyboardInteractiveAuthenticator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKeyboardInteractiveAuthenticator</h4>
<pre>public&nbsp;<a href="../../../../org/apache/sshd/server/auth/keyboard/KeyboardInteractiveAuthenticator.html" title="interface in org.apache.sshd.server.auth.keyboard">KeyboardInteractiveAuthenticator</a>&nbsp;getKeyboardInteractiveAuthenticator()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html#getKeyboardInteractiveAuthenticator--">ServerAuthenticationManager</a></code></span></div>
<div class="block">Retrieve the <code>KeyboardInteractiveAuthenticator</code> to be used by
the SSH server. If no authenticator has been configured (i.e. this method returns
<code>null</code>), then client authentication requests based on this method
will be rejected.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html#getKeyboardInteractiveAuthenticator--">getKeyboardInteractiveAuthenticator</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html" title="interface in org.apache.sshd.server">ServerAuthenticationManager</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The <a href="../../../../org/apache/sshd/server/auth/keyboard/KeyboardInteractiveAuthenticator.html" title="interface in org.apache.sshd.server.auth.keyboard"><code>KeyboardInteractiveAuthenticator</code></a> or <code>null</code></dd>
</dl>
</li>
</ul>
<a name="setKeyboardInteractiveAuthenticator-org.apache.sshd.server.auth.keyboard.KeyboardInteractiveAuthenticator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setKeyboardInteractiveAuthenticator</h4>
<pre>public&nbsp;void&nbsp;setKeyboardInteractiveAuthenticator(<a href="../../../../org/apache/sshd/server/auth/keyboard/KeyboardInteractiveAuthenticator.html" title="interface in org.apache.sshd.server.auth.keyboard">KeyboardInteractiveAuthenticator</a>&nbsp;interactiveAuthenticator)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html#setKeyboardInteractiveAuthenticator-org.apache.sshd.server.auth.keyboard.KeyboardInteractiveAuthenticator-">setKeyboardInteractiveAuthenticator</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html" title="interface in org.apache.sshd.server">ServerAuthenticationManager</a></code></dd>
</dl>
</li>
</ul>
<a name="getGSSAuthenticator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGSSAuthenticator</h4>
<pre>public&nbsp;<a href="../../../../org/apache/sshd/server/auth/gss/GSSAuthenticator.html" title="class in org.apache.sshd.server.auth.gss">GSSAuthenticator</a>&nbsp;getGSSAuthenticator()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html#getGSSAuthenticator--">ServerAuthenticationManager</a></code></span></div>
<div class="block">Retrieve the <code>GSSAuthenticator</code> to be used by the SSH server.
If no authenticator has been configured (i.e. this method returns
<code>null</code>), then client authentication requests based on gssapi
will be rejected.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html#getGSSAuthenticator--">getGSSAuthenticator</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html" title="interface in org.apache.sshd.server">ServerAuthenticationManager</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="../../../../org/apache/sshd/server/auth/gss/GSSAuthenticator.html" title="class in org.apache.sshd.server.auth.gss"><code>GSSAuthenticator</code></a> or <code>null</code></dd>
</dl>
</li>
</ul>
<a name="setGSSAuthenticator-org.apache.sshd.server.auth.gss.GSSAuthenticator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGSSAuthenticator</h4>
<pre>public&nbsp;void&nbsp;setGSSAuthenticator(<a href="../../../../org/apache/sshd/server/auth/gss/GSSAuthenticator.html" title="class in org.apache.sshd.server.auth.gss">GSSAuthenticator</a>&nbsp;gssAuthenticator)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html#setGSSAuthenticator-org.apache.sshd.server.auth.gss.GSSAuthenticator-">setGSSAuthenticator</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html" title="interface in org.apache.sshd.server">ServerAuthenticationManager</a></code></dd>
</dl>
</li>
</ul>
<a name="getHostBasedAuthenticator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHostBasedAuthenticator</h4>
<pre>public&nbsp;<a href="../../../../org/apache/sshd/server/auth/hostbased/HostBasedAuthenticator.html" title="interface in org.apache.sshd.server.auth.hostbased">HostBasedAuthenticator</a>&nbsp;getHostBasedAuthenticator()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html#getHostBasedAuthenticator--">ServerAuthenticationManager</a></code></span></div>
<div class="block">Retrieve the <code>HostBasedAuthenticator</code> to be used by the SSH server. If
no authenticator has been configured (i.e. this method returns <code>null</code>),
then client authentication requests based on this method will be rejected.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html#getHostBasedAuthenticator--">getHostBasedAuthenticator</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html" title="interface in org.apache.sshd.server">ServerAuthenticationManager</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="../../../../org/apache/sshd/server/auth/hostbased/HostBasedAuthenticator.html" title="interface in org.apache.sshd.server.auth.hostbased"><code>HostBasedAuthenticator</code></a> or <code>null</code></dd>
</dl>
</li>
</ul>
<a name="setHostBasedAuthenticator-org.apache.sshd.server.auth.hostbased.HostBasedAuthenticator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHostBasedAuthenticator</h4>
<pre>public&nbsp;void&nbsp;setHostBasedAuthenticator(<a href="../../../../org/apache/sshd/server/auth/hostbased/HostBasedAuthenticator.html" title="interface in org.apache.sshd.server.auth.hostbased">HostBasedAuthenticator</a>&nbsp;hostBasedAuthenticator)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html#setHostBasedAuthenticator-org.apache.sshd.server.auth.hostbased.HostBasedAuthenticator-">setHostBasedAuthenticator</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/sshd/server/ServerAuthenticationManager.html" title="interface in org.apache.sshd.server">ServerAuthenticationManager</a></code></dd>
</dl>
</li>
</ul>
<a name="setTcpipForwardingFilter-org.apache.sshd.server.forward.ForwardingFilter-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTcpipForwardingFilter</h4>
<pre>public&nbsp;void&nbsp;setTcpipForwardingFilter(<a href="../../../../org/apache/sshd/server/forward/ForwardingFilter.html" title="interface in org.apache.sshd.server.forward">ForwardingFilter</a>&nbsp;forwardingFilter)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#setTcpipForwardingFilter-org.apache.sshd.server.forward.ForwardingFilter-">setTcpipForwardingFilter</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html" title="class in org.apache.sshd.common">AbstractFactoryManager</a></code></dd>
</dl>
</li>
</ul>
<a name="checkConfig--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkConfig</h4>
<pre>protected&nbsp;void&nbsp;checkConfig()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#checkConfig--">checkConfig</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html" title="class in org.apache.sshd.common">AbstractFactoryManager</a></code></dd>
</dl>
</li>
</ul>
<a name="start--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>start</h4>
<pre>public&nbsp;void&nbsp;start()
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Start the SSH server and accept incoming exceptions on the configured port.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If failed to start</dd>
</dl>
</li>
</ul>
<a name="stop--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stop</h4>
<pre>public&nbsp;void&nbsp;stop()
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Stop the SSH server. This method will block until all resources are actually disposed.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if stopping failed somehow</dd>
</dl>
</li>
</ul>
<a name="stop-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stop</h4>
<pre>public&nbsp;void&nbsp;stop(boolean&nbsp;immediately)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="open--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>open</h4>
<pre>public&nbsp;void&nbsp;open()
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="getInnerCloseable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInnerCloseable</h4>
<pre>protected&nbsp;<a href="../../../../org/apache/sshd/common/Closeable.html" title="interface in org.apache.sshd.common">Closeable</a>&nbsp;getInnerCloseable()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/sshd/common/util/closeable/AbstractInnerCloseable.html#getInnerCloseable--">getInnerCloseable</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/sshd/common/util/closeable/AbstractInnerCloseable.html" title="class in org.apache.sshd.common.util.closeable">AbstractInnerCloseable</a></code></dd>
</dl>
</li>
</ul>
<a name="getActiveSessions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getActiveSessions</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/sshd/common/session/AbstractSession.html" title="class in org.apache.sshd.common.session">AbstractSession</a>&gt;&nbsp;getActiveSessions()</pre>
<div class="block">Obtain the list of active sessions.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> of the currently active session</dd>
</dl>
</li>
</ul>
<a name="createAcceptor--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createAcceptor</h4>
<pre>protected&nbsp;<a href="../../../../org/apache/sshd/common/io/IoAcceptor.html" title="interface in org.apache.sshd.common.io">IoAcceptor</a>&nbsp;createAcceptor()</pre>
</li>
</ul>
<a name="createSessionFactory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createSessionFactory</h4>
<pre>protected&nbsp;<a href="../../../../org/apache/sshd/server/session/SessionFactory.html" title="class in org.apache.sshd.server.session">SessionFactory</a>&nbsp;createSessionFactory()</pre>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="setUpDefaultServer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUpDefaultServer</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/sshd/server/SshServer.html" title="class in org.apache.sshd.server">SshServer</a>&nbsp;setUpDefaultServer()</pre>
</li>
</ul>
<a name="main-java.lang.String:A-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>main</h4>
<pre>public static&nbsp;void&nbsp;main(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;args)
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/SshServer.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/sshd/server/SignalListener.html" title="interface in org.apache.sshd.server"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/sshd/server/StandardEnvironment.html" title="class in org.apache.sshd.server"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/sshd/server/SshServer.html" target="_top">Frames</a></li>
<li><a href="SshServer.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.classes.inherited.from.class.org.apache.sshd.common.util.closeable.AbstractCloseable">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>