| <!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:41 CET 2016 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>SshClient (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="SshClient (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":10,"i18":10,"i19":10,"i20":9,"i21":10,"i22":9,"i23":10,"i24":10,"i25":10,"i26":10,"i27":9,"i28":9,"i29":9,"i30":9,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":9,"i38":9,"i39":10,"i40":9,"i41":9,"i42":10,"i43":10,"i44":9,"i45":10,"i46":10,"i47":10,"i48":9}; |
| 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/SshClient.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/client/ClientFactoryManager.html" title="interface in org.apache.sshd.client"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/sshd/client/SshKeyScan.html" title="class in org.apache.sshd.client"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/sshd/client/SshClient.html" target="_top">Frames</a></li> |
| <li><a href="SshClient.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All 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: </li> |
| <li><a href="#nested.classes.inherited.from.class.org.apache.sshd.common.util.closeable.AbstractCloseable">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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.client</div> |
| <h2 title="Class SshClient" class="title">Class SshClient</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.client.SshClient</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/client/ClientAuthenticationManager.html" title="interface in org.apache.sshd.client">ClientAuthenticationManager</a>, <a href="../../../../org/apache/sshd/client/ClientFactoryManager.html" title="interface in org.apache.sshd.client">ClientFactoryManager</a>, <a href="../../../../org/apache/sshd/client/session/ClientSessionCreator.html" title="interface in org.apache.sshd.client.session">ClientSessionCreator</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></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">SshClient</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/client/ClientFactoryManager.html" title="interface in org.apache.sshd.client">ClientFactoryManager</a>, <a href="../../../../org/apache/sshd/client/session/ClientSessionCreator.html" title="interface in org.apache.sshd.client.session">ClientSessionCreator</a>, <a href="../../../../org/apache/sshd/common/Closeable.html" title="interface in org.apache.sshd.common">Closeable</a></pre> |
| <div class="block"><P> |
| Entry point for the client side of the SSH protocol. |
| </P> |
| |
| <P> |
| The default configured client can be created using |
| the <a href="../../../../org/apache/sshd/client/SshClient.html#setUpDefaultClient--"><code>setUpDefaultClient()</code></a>. The next step is to |
| start the client using the <a href="../../../../org/apache/sshd/client/SshClient.html#start--"><code>start()</code></a> method. |
| </P> |
| |
| <P> |
| Sessions can then be created using on of the |
| <a href="../../../../org/apache/sshd/client/SshClient.html#connect-java.lang.String-java.lang.String-int-"><code>connect(String, String, int)</code></a> or <a href="../../../../org/apache/sshd/client/SshClient.html#connect-java.lang.String-java.net.SocketAddress-"><code>connect(String, java.net.SocketAddress)</code></a> |
| methods. |
| </P> |
| |
| <P> |
| The client can be stopped any time using the <a href="../../../../org/apache/sshd/client/SshClient.html#stop--"><code>stop()</code></a> method. |
| </P> |
| |
| <P> |
| Following is an example of using the <code>SshClient</code>: |
| </P> |
| |
| <pre> |
| try(SshClient client = SshClient.setUpDefaultClient()) { |
| client.start(); |
| |
| try(ClientSession session = client.connect(login, host, port).await().getSession()) { |
| session.addPasswordIdentity(password); |
| session.auth().verify(...timeout...); |
| |
| try(ClientChannel channel = session.createChannel(ClientChannel.CHANNEL_SHELL)) { |
| channel.setIn(new NoCloseInputStream(System.in)); |
| channel.setOut(new NoCloseOutputStream(System.out)); |
| channel.setErr(new NoCloseOutputStream(System.err)); |
| channel.open(); |
| channel.waitFor(ClientChannel.CLOSED, 0); |
| } finally { |
| session.close(false); |
| } |
| } finally { |
| client.stop(); |
| } |
| } |
| </pre></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Author:</span></dt> |
| <dd><a href="mailto:dev@mina.apache.org">Apache MINA SSHD Project</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 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 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> |
| </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"> </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/IoConnector.html" title="interface in org.apache.sshd.common.io">IoConnector</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#connector">connector</a></span></code> </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><<a href="../../../../org/apache/sshd/common/ServiceFactory.html" title="interface in org.apache.sshd.common">ServiceFactory</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#DEFAULT_SERVICE_FACTORIES">DEFAULT_SERVICE_FACTORIES</a></span></code> </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><<a href="../../../../org/apache/sshd/client/SshClient.html" title="class in org.apache.sshd.client">SshClient</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#DEFAULT_SSH_CLIENT_FACTORY">DEFAULT_SSH_CLIENT_FACTORY</a></span></code> </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><<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a><<a href="../../../../org/apache/sshd/client/auth/UserAuth.html" title="interface in org.apache.sshd.client.auth">UserAuth</a>>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#DEFAULT_USER_AUTH_FACTORIES">DEFAULT_USER_AUTH_FACTORIES</a></span></code> |
| <div class="block">Default user authentication preferences if not set</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../org/apache/sshd/client/session/SessionFactory.html" title="class in org.apache.sshd.client.session">SessionFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#sessionFactory">sessionFactory</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <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><<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a><<a href="../../../../org/apache/sshd/client/auth/UserAuth.html" title="interface in org.apache.sshd.client.auth">UserAuth</a>>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#userAuthFactories">userAuthFactories</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../org/apache/sshd/client/auth/keyboard/UserInteraction.html" title="interface in org.apache.sshd.client.auth.keyboard">UserInteraction</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#userInteraction">userInteraction</a></span></code> </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 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 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 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.client.ClientFactoryManager"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from interface org.apache.sshd.client.<a href="../../../../org/apache/sshd/client/ClientFactoryManager.html" title="interface in org.apache.sshd.client">ClientFactoryManager</a></h3> |
| <code><a href="../../../../org/apache/sshd/client/ClientFactoryManager.html#DEFAULT_HEARTBEAT_INTERVAL">DEFAULT_HEARTBEAT_INTERVAL</a>, <a href="../../../../org/apache/sshd/client/ClientFactoryManager.html#DEFAULT_IGNORE_INVALID_IDENTITIES">DEFAULT_IGNORE_INVALID_IDENTITIES</a>, <a href="../../../../org/apache/sshd/client/ClientFactoryManager.html#DEFAULT_KEEP_ALIVE_HEARTBEAT_STRING">DEFAULT_KEEP_ALIVE_HEARTBEAT_STRING</a>, <a href="../../../../org/apache/sshd/client/ClientFactoryManager.html#HEARTBEAT_INTERVAL">HEARTBEAT_INTERVAL</a>, <a href="../../../../org/apache/sshd/client/ClientFactoryManager.html#HEARTBEAT_REQUEST">HEARTBEAT_REQUEST</a>, <a href="../../../../org/apache/sshd/client/ClientFactoryManager.html#IGNORE_INVALID_IDENTITIES">IGNORE_INVALID_IDENTITIES</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 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.client.ClientAuthenticationManager"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from interface org.apache.sshd.client.<a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html" title="interface in org.apache.sshd.client">ClientAuthenticationManager</a></h3> |
| <code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#DEFAULT_PASSWORD_PROMPTS">DEFAULT_PASSWORD_PROMPTS</a>, <a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#PASSWORD_PROMPTS">PASSWORD_PROMPTS</a>, <a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#PREFERRED_AUTHS">PREFERRED_AUTHS</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"> </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/client/SshClient.html#SshClient--">SshClient</a></span>()</code> </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"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#addPasswordIdentity-java.lang.String-">addPasswordIdentity</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> password)</code> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#addPublicKeyIdentity-java.security.KeyPair-">addPublicKeyIdentity</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security">KeyPair</a> kp)</code> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#checkConfig--">checkConfig</a></span>()</code> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/sshd/client/future/ConnectFuture.html" title="interface in org.apache.sshd.client.future">ConnectFuture</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#connect-org.apache.sshd.client.config.hosts.HostConfigEntry-">connect</a></span>(<a href="../../../../org/apache/sshd/client/config/hosts/HostConfigEntry.html" title="class in org.apache.sshd.client.config.hosts">HostConfigEntry</a> hostConfig)</code> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/sshd/client/future/ConnectFuture.html" title="interface in org.apache.sshd.client.future">ConnectFuture</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#connect-java.lang.String-java.net.SocketAddress-">connect</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> username, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net">SocketAddress</a> address)</code> |
| <div class="block">Resolves the <U>effective</U> <a href="../../../../org/apache/sshd/client/config/hosts/HostConfigEntry.html" title="class in org.apache.sshd.client.config.hosts"><code>HostConfigEntry</code></a> and connects to it</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/sshd/client/future/ConnectFuture.html" title="interface in org.apache.sshd.client.future">ConnectFuture</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#connect-java.lang.String-java.lang.String-int-">connect</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> username, |
| <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, |
| int port)</code> |
| <div class="block">Resolves the <U>effective</U> <a href="../../../../org/apache/sshd/client/config/hosts/HostConfigEntry.html" title="class in org.apache.sshd.client.config.hosts"><code>HostConfigEntry</code></a> and connects to it</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../org/apache/sshd/common/future/SshFutureListener.html" title="interface in org.apache.sshd.common.future">SshFutureListener</a><<a href="../../../../org/apache/sshd/common/io/IoConnectFuture.html" title="interface in org.apache.sshd.common.io">IoConnectFuture</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#createConnectCompletionListener-org.apache.sshd.client.future.ConnectFuture-java.lang.String-java.net.SocketAddress-java.util.Collection-boolean-">createConnectCompletionListener</a></span>(<a href="../../../../org/apache/sshd/client/future/ConnectFuture.html" title="interface in org.apache.sshd.client.future">ConnectFuture</a> connectFuture, |
| <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> username, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net">SocketAddress</a> address, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security">KeyPair</a>> identities, |
| boolean useDefaultIdentities)</code> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../org/apache/sshd/common/io/IoConnector.html" title="interface in org.apache.sshd.common.io">IoConnector</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#createConnector--">createConnector</a></span>()</code> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../org/apache/sshd/client/session/SessionFactory.html" title="class in org.apache.sshd.client.session">SessionFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#createSessionFactory--">createSessionFactory</a></span>()</code> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../org/apache/sshd/client/future/ConnectFuture.html" title="interface in org.apache.sshd.client.future">ConnectFuture</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#doConnect-java.lang.String-java.net.SocketAddress-java.util.Collection-boolean-">doConnect</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> username, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net">SocketAddress</a> address, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security">KeyPair</a>> identities, |
| boolean useDefaultIdentities)</code> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/sshd/client/config/keys/ClientIdentityLoader.html" title="interface in org.apache.sshd.client.config.keys">ClientIdentityLoader</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#getClientIdentityLoader--">getClientIdentityLoader</a></span>()</code> </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/sshd/common/config/keys/FilePasswordProvider.html" title="interface in org.apache.sshd.common.config.keys">FilePasswordProvider</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#getFilePasswordProvider--">getFilePasswordProvider</a></span>()</code> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/sshd/client/config/hosts/HostConfigEntryResolver.html" title="interface in org.apache.sshd.client.config.hosts">HostConfigEntryResolver</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#getHostConfigEntryResolver--">getHostConfigEntryResolver</a></span>()</code> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <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/client/SshClient.html#getInnerCloseable--">getInnerCloseable</a></span>()</code> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/sshd/client/auth/password/PasswordIdentityProvider.html" title="interface in org.apache.sshd.client.auth.password">PasswordIdentityProvider</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#getPasswordIdentityProvider--">getPasswordIdentityProvider</a></span>()</code> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/sshd/client/auth/AuthenticationIdentitiesProvider.html" title="interface in org.apache.sshd.client.auth">AuthenticationIdentitiesProvider</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#getRegisteredIdentities--">getRegisteredIdentities</a></span>()</code> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/sshd/client/keyverifier/ServerKeyVerifier.html" title="interface in org.apache.sshd.client.keyverifier">ServerKeyVerifier</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#getServerKeyVerifier--">getServerKeyVerifier</a></span>()</code> |
| <div class="block">Retrieve the server key verifier to be used to check the key when connecting |
| to an SSH server.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/sshd/client/session/SessionFactory.html" title="class in org.apache.sshd.client.session">SessionFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#getSessionFactory--">getSessionFactory</a></span>()</code> </td> |
| </tr> |
| <tr id="i18" 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><<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a><<a href="../../../../org/apache/sshd/client/auth/UserAuth.html" title="interface in org.apache.sshd.client.auth">UserAuth</a>>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#getUserAuthFactories--">getUserAuthFactories</a></span>()</code> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/sshd/client/auth/keyboard/UserInteraction.html" title="interface in org.apache.sshd.client.auth.keyboard">UserInteraction</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#getUserInteraction--">getUserInteraction</a></span>()</code> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#isArgumentedOption-java.lang.String-java.lang.String-">isArgumentedOption</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> portOption, |
| <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> argName)</code> </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>protected <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><<a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security">KeyPair</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#loadClientIdentities-java.util.Collection-java.nio.file.LinkOption...-">loadClientIdentities</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<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>> locations, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/LinkOption.html?is-external=true" title="class or interface in java.nio.file">LinkOption</a>... options)</code> </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.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>[] args)</code> </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#onConnectOperationComplete-org.apache.sshd.common.io.IoSession-org.apache.sshd.client.future.ConnectFuture-java.lang.String-java.net.SocketAddress-java.util.Collection-boolean-">onConnectOperationComplete</a></span>(<a href="../../../../org/apache/sshd/common/io/IoSession.html" title="interface in org.apache.sshd.common.io">IoSession</a> ioSession, |
| <a href="../../../../org/apache/sshd/client/future/ConnectFuture.html" title="interface in org.apache.sshd.client.future">ConnectFuture</a> connectFuture, |
| <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> username, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net">SocketAddress</a> address, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security">KeyPair</a>> identities, |
| boolean useDefaultIdentities)</code> </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/client/SshClient.html#open--">open</a></span>()</code> </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <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/client/SshClient.html#removePasswordIdentity-java.lang.String-">removePasswordIdentity</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> password)</code> </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security">KeyPair</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#removePublicKeyIdentity-java.security.KeyPair-">removePublicKeyIdentity</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security">KeyPair</a> kp)</code> </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#resolveLoggingTargetStream-java.io.PrintStream-java.io.PrintStream-java.lang.String...-">resolveLoggingTargetStream</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> stdout, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> stderr, |
| <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>... args)</code> </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#resolveLoggingTargetStream-java.io.PrintStream-java.io.PrintStream-java.lang.String:A-int-">resolveLoggingTargetStream</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> stdout, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> stderr, |
| <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>[] args, |
| int maxIndex)</code> </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true" title="class or interface in java.util.logging">Level</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#resolveLoggingVerbosity-java.lang.String...-">resolveLoggingVerbosity</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>... args)</code> </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true" title="class or interface in java.util.logging">Level</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#resolveLoggingVerbosity-java.lang.String:A-int-">resolveLoggingVerbosity</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>[] args, |
| int maxIndex)</code> </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#setClientIdentityLoader-org.apache.sshd.client.config.keys.ClientIdentityLoader-">setClientIdentityLoader</a></span>(<a href="../../../../org/apache/sshd/client/config/keys/ClientIdentityLoader.html" title="interface in org.apache.sshd.client.config.keys">ClientIdentityLoader</a> loader)</code> </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/client/SshClient.html#setFilePasswordProvider-org.apache.sshd.common.config.keys.FilePasswordProvider-">setFilePasswordProvider</a></span>(<a href="../../../../org/apache/sshd/common/config/keys/FilePasswordProvider.html" title="interface in org.apache.sshd.common.config.keys">FilePasswordProvider</a> provider)</code> </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/client/SshClient.html#setHostConfigEntryResolver-org.apache.sshd.client.config.hosts.HostConfigEntryResolver-">setHostConfigEntryResolver</a></span>(<a href="../../../../org/apache/sshd/client/config/hosts/HostConfigEntryResolver.html" title="interface in org.apache.sshd.client.config.hosts">HostConfigEntryResolver</a> resolver)</code> </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/client/SshClient.html#setPasswordIdentityProvider-org.apache.sshd.client.auth.password.PasswordIdentityProvider-">setPasswordIdentityProvider</a></span>(<a href="../../../../org/apache/sshd/client/auth/password/PasswordIdentityProvider.html" title="interface in org.apache.sshd.client.auth.password">PasswordIdentityProvider</a> provider)</code> </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/client/SshClient.html#setServerKeyVerifier-org.apache.sshd.client.keyverifier.ServerKeyVerifier-">setServerKeyVerifier</a></span>(<a href="../../../../org/apache/sshd/client/keyverifier/ServerKeyVerifier.html" title="interface in org.apache.sshd.client.keyverifier">ServerKeyVerifier</a> serverKeyVerifier)</code> </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#setSessionFactory-org.apache.sshd.client.session.SessionFactory-">setSessionFactory</a></span>(<a href="../../../../org/apache/sshd/client/session/SessionFactory.html" title="class in org.apache.sshd.client.session">SessionFactory</a> sessionFactory)</code> </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/sshd/client/session/ClientSession.html" title="interface in org.apache.sshd.client.session">ClientSession</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#setupClientSession-java.lang.String-java.io.BufferedReader-java.io.PrintStream-java.io.PrintStream-java.lang.String...-">setupClientSession</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> portOption, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io">BufferedReader</a> stdin, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> stdout, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> stderr, |
| <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>... args)</code> </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/sshd/client/SshClient.html" title="class in org.apache.sshd.client">SshClient</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#setUpDefaultClient--">setUpDefaultClient</a></span>()</code> |
| <div class="block">Setup a default client.</div> |
| </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#setupDefaultSessionIdentities-org.apache.sshd.client.session.ClientSession-">setupDefaultSessionIdentities</a></span>(<a href="../../../../org/apache/sshd/client/session/ClientSession.html" title="interface in org.apache.sshd.client.session">ClientSession</a> session)</code> </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/sshd/client/simple/SimpleClient.html" title="interface in org.apache.sshd.client.simple">SimpleClient</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#setUpDefaultSimpleClient--">setUpDefaultSimpleClient</a></span>()</code> |
| <div class="block">Setup a default client, starts it and then wraps it as a <a href="../../../../org/apache/sshd/client/simple/SimpleClient.html" title="interface in org.apache.sshd.client.simple"><code>SimpleClient</code></a></div> |
| </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Handler.html?is-external=true" title="class or interface in java.util.logging">Handler</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#setupLogging-java.util.logging.Level-java.io.PrintStream-java.io.PrintStream-java.io.OutputStream-">setupLogging</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true" title="class or interface in java.util.logging">Level</a> level, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> stdout, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> stderr, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> outputStream)</code> </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.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><<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a><<a href="../../../../org/apache/sshd/client/auth/UserAuth.html" title="interface in org.apache.sshd.client.auth">UserAuth</a>>> userAuthFactories)</code> </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#setUserInteraction-org.apache.sshd.client.auth.keyboard.UserInteraction-">setUserInteraction</a></span>(<a href="../../../../org/apache/sshd/client/auth/keyboard/UserInteraction.html" title="interface in org.apache.sshd.client.auth.keyboard">UserInteraction</a> userInteraction)</code> </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#showError-java.io.PrintStream-java.lang.String-">showError</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> stderr, |
| <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> message)</code> </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#start--">start</a></span>()</code> </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#stop--">stop</a></span>()</code> </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <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/client/SshClient.html#toString--">toString</a></span>()</code> </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/sshd/client/simple/SimpleClient.html" title="interface in org.apache.sshd.client.simple">SimpleClient</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/sshd/client/SshClient.html#wrapAsSimpleClient-org.apache.sshd.client.SshClient-">wrapAsSimpleClient</a></span>(<a href="../../../../org/apache/sshd/client/SshClient.html" title="class in org.apache.sshd.client">SshClient</a> client)</code> |
| <div class="block">Wraps an <a href="../../../../org/apache/sshd/client/SshClient.html" title="class in org.apache.sshd.client"><code>SshClient</code></a> instance as a <a href="../../../../org/apache/sshd/client/simple/SimpleClient.html" title="interface in org.apache.sshd.client.simple"><code>SimpleClient</code></a></div> |
| </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 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#setTcpipForwardingFilter-org.apache.sshd.server.forward.ForwardingFilter-">setTcpipForwardingFilter</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 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 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 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 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 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 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 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 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 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 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 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 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 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 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_CLIENT_FACTORY"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DEFAULT_SSH_CLIENT_FACTORY</h4> |
| <pre>public static final <a href="../../../../org/apache/sshd/common/Factory.html" title="interface in org.apache.sshd.common">Factory</a><<a href="../../../../org/apache/sshd/client/SshClient.html" title="class in org.apache.sshd.client">SshClient</a>> DEFAULT_SSH_CLIENT_FACTORY</pre> |
| </li> |
| </ul> |
| <a name="DEFAULT_USER_AUTH_FACTORIES"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DEFAULT_USER_AUTH_FACTORIES</h4> |
| <pre>public static final <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><<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a><<a href="../../../../org/apache/sshd/client/auth/UserAuth.html" title="interface in org.apache.sshd.client.auth">UserAuth</a>>> DEFAULT_USER_AUTH_FACTORIES</pre> |
| <div class="block">Default user authentication preferences if not set</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><A HREF="http://linux.die.net/man/5/ssh_config">ssh_config(5) - PreferredAuthentications</A></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="DEFAULT_SERVICE_FACTORIES"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DEFAULT_SERVICE_FACTORIES</h4> |
| <pre>public static final <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><<a href="../../../../org/apache/sshd/common/ServiceFactory.html" title="interface in org.apache.sshd.common">ServiceFactory</a>> DEFAULT_SERVICE_FACTORIES</pre> |
| </li> |
| </ul> |
| <a name="connector"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>connector</h4> |
| <pre>protected <a href="../../../../org/apache/sshd/common/io/IoConnector.html" title="interface in org.apache.sshd.common.io">IoConnector</a> connector</pre> |
| </li> |
| </ul> |
| <a name="sessionFactory"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sessionFactory</h4> |
| <pre>protected <a href="../../../../org/apache/sshd/client/session/SessionFactory.html" title="class in org.apache.sshd.client.session">SessionFactory</a> sessionFactory</pre> |
| </li> |
| </ul> |
| <a name="userInteraction"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>userInteraction</h4> |
| <pre>protected <a href="../../../../org/apache/sshd/client/auth/keyboard/UserInteraction.html" title="interface in org.apache.sshd.client.auth.keyboard">UserInteraction</a> userInteraction</pre> |
| </li> |
| </ul> |
| <a name="userAuthFactories"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>userAuthFactories</h4> |
| <pre>protected <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><<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a><<a href="../../../../org/apache/sshd/client/auth/UserAuth.html" title="interface in org.apache.sshd.client.auth">UserAuth</a>>> userAuthFactories</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="SshClient--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>SshClient</h4> |
| <pre>public SshClient()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getSessionFactory--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSessionFactory</h4> |
| <pre>public <a href="../../../../org/apache/sshd/client/session/SessionFactory.html" title="class in org.apache.sshd.client.session">SessionFactory</a> getSessionFactory()</pre> |
| </li> |
| </ul> |
| <a name="setSessionFactory-org.apache.sshd.client.session.SessionFactory-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSessionFactory</h4> |
| <pre>public void setSessionFactory(<a href="../../../../org/apache/sshd/client/session/SessionFactory.html" title="class in org.apache.sshd.client.session">SessionFactory</a> sessionFactory)</pre> |
| </li> |
| </ul> |
| <a name="getServerKeyVerifier--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getServerKeyVerifier</h4> |
| <pre>public <a href="../../../../org/apache/sshd/client/keyverifier/ServerKeyVerifier.html" title="interface in org.apache.sshd.client.keyverifier">ServerKeyVerifier</a> getServerKeyVerifier()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#getServerKeyVerifier--">ClientAuthenticationManager</a></code></span></div> |
| <div class="block">Retrieve the server key verifier to be used to check the key when connecting |
| to an SSH server.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#getServerKeyVerifier--">getServerKeyVerifier</a></code> in interface <code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html" title="interface in org.apache.sshd.client">ClientAuthenticationManager</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="../../../../org/apache/sshd/client/keyverifier/ServerKeyVerifier.html" title="interface in org.apache.sshd.client.keyverifier"><code>ServerKeyVerifier</code></a> to use - never <code>null</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setServerKeyVerifier-org.apache.sshd.client.keyverifier.ServerKeyVerifier-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setServerKeyVerifier</h4> |
| <pre>public void setServerKeyVerifier(<a href="../../../../org/apache/sshd/client/keyverifier/ServerKeyVerifier.html" title="interface in org.apache.sshd.client.keyverifier">ServerKeyVerifier</a> serverKeyVerifier)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#setServerKeyVerifier-org.apache.sshd.client.keyverifier.ServerKeyVerifier-">setServerKeyVerifier</a></code> in interface <code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html" title="interface in org.apache.sshd.client">ClientAuthenticationManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getHostConfigEntryResolver--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHostConfigEntryResolver</h4> |
| <pre>public <a href="../../../../org/apache/sshd/client/config/hosts/HostConfigEntryResolver.html" title="interface in org.apache.sshd.client.config.hosts">HostConfigEntryResolver</a> getHostConfigEntryResolver()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/ClientFactoryManager.html#getHostConfigEntryResolver--">getHostConfigEntryResolver</a></code> in interface <code><a href="../../../../org/apache/sshd/client/ClientFactoryManager.html" title="interface in org.apache.sshd.client">ClientFactoryManager</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The <a href="../../../../org/apache/sshd/client/config/hosts/HostConfigEntryResolver.html" title="interface in org.apache.sshd.client.config.hosts"><code>HostConfigEntryResolver</code></a> to use in order to resolve the |
| effective session parameters - never <code>null</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setHostConfigEntryResolver-org.apache.sshd.client.config.hosts.HostConfigEntryResolver-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setHostConfigEntryResolver</h4> |
| <pre>public void setHostConfigEntryResolver(<a href="../../../../org/apache/sshd/client/config/hosts/HostConfigEntryResolver.html" title="interface in org.apache.sshd.client.config.hosts">HostConfigEntryResolver</a> resolver)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/ClientFactoryManager.html#setHostConfigEntryResolver-org.apache.sshd.client.config.hosts.HostConfigEntryResolver-">setHostConfigEntryResolver</a></code> in interface <code><a href="../../../../org/apache/sshd/client/ClientFactoryManager.html" title="interface in org.apache.sshd.client">ClientFactoryManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFilePasswordProvider--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFilePasswordProvider</h4> |
| <pre>public <a href="../../../../org/apache/sshd/common/config/keys/FilePasswordProvider.html" title="interface in org.apache.sshd.common.config.keys">FilePasswordProvider</a> getFilePasswordProvider()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/ClientFactoryManager.html#getFilePasswordProvider--">getFilePasswordProvider</a></code> in interface <code><a href="../../../../org/apache/sshd/client/ClientFactoryManager.html" title="interface in org.apache.sshd.client">ClientFactoryManager</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The <a href="../../../../org/apache/sshd/common/config/keys/FilePasswordProvider.html" title="interface in org.apache.sshd.common.config.keys"><code>FilePasswordProvider</code></a> to use if need to load encrypted |
| identities keys - never <code>null</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/sshd/common/config/keys/FilePasswordProvider.html#EMPTY"><code>FilePasswordProvider.EMPTY</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setFilePasswordProvider-org.apache.sshd.common.config.keys.FilePasswordProvider-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFilePasswordProvider</h4> |
| <pre>public void setFilePasswordProvider(<a href="../../../../org/apache/sshd/common/config/keys/FilePasswordProvider.html" title="interface in org.apache.sshd.common.config.keys">FilePasswordProvider</a> provider)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/ClientFactoryManager.html#setFilePasswordProvider-org.apache.sshd.common.config.keys.FilePasswordProvider-">setFilePasswordProvider</a></code> in interface <code><a href="../../../../org/apache/sshd/client/ClientFactoryManager.html" title="interface in org.apache.sshd.client">ClientFactoryManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getClientIdentityLoader--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getClientIdentityLoader</h4> |
| <pre>public <a href="../../../../org/apache/sshd/client/config/keys/ClientIdentityLoader.html" title="interface in org.apache.sshd.client.config.keys">ClientIdentityLoader</a> getClientIdentityLoader()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/ClientFactoryManager.html#getClientIdentityLoader--">getClientIdentityLoader</a></code> in interface <code><a href="../../../../org/apache/sshd/client/ClientFactoryManager.html" title="interface in org.apache.sshd.client">ClientFactoryManager</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The <a href="../../../../org/apache/sshd/client/config/keys/ClientIdentityLoader.html" title="interface in org.apache.sshd.client.config.keys"><code>ClientIdentityLoader</code></a> to use in order to load client |
| key pair identities - never <code>null</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setClientIdentityLoader-org.apache.sshd.client.config.keys.ClientIdentityLoader-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setClientIdentityLoader</h4> |
| <pre>public void setClientIdentityLoader(<a href="../../../../org/apache/sshd/client/config/keys/ClientIdentityLoader.html" title="interface in org.apache.sshd.client.config.keys">ClientIdentityLoader</a> loader)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/ClientFactoryManager.html#setClientIdentityLoader-org.apache.sshd.client.config.keys.ClientIdentityLoader-">setClientIdentityLoader</a></code> in interface <code><a href="../../../../org/apache/sshd/client/ClientFactoryManager.html" title="interface in org.apache.sshd.client">ClientFactoryManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getUserInteraction--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getUserInteraction</h4> |
| <pre>public <a href="../../../../org/apache/sshd/client/auth/keyboard/UserInteraction.html" title="interface in org.apache.sshd.client.auth.keyboard">UserInteraction</a> getUserInteraction()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#getUserInteraction--">getUserInteraction</a></code> in interface <code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html" title="interface in org.apache.sshd.client">ClientAuthenticationManager</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A <a href="../../../../org/apache/sshd/client/auth/keyboard/UserInteraction.html" title="interface in org.apache.sshd.client.auth.keyboard"><code>UserInteraction</code></a> object to communicate with the user |
| (may be <code>null</code> to indicate that no such communication is allowed)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setUserInteraction-org.apache.sshd.client.auth.keyboard.UserInteraction-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setUserInteraction</h4> |
| <pre>public void setUserInteraction(<a href="../../../../org/apache/sshd/client/auth/keyboard/UserInteraction.html" title="interface in org.apache.sshd.client.auth.keyboard">UserInteraction</a> userInteraction)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#setUserInteraction-org.apache.sshd.client.auth.keyboard.UserInteraction-">setUserInteraction</a></code> in interface <code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html" title="interface in org.apache.sshd.client">ClientAuthenticationManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getUserAuthFactories--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getUserAuthFactories</h4> |
| <pre>public <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><<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a><<a href="../../../../org/apache/sshd/client/auth/UserAuth.html" title="interface in org.apache.sshd.client.auth">UserAuth</a>>> getUserAuthFactories()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#getUserAuthFactories--">getUserAuthFactories</a></code> in interface <code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html" title="interface in org.apache.sshd.client">ClientAuthenticationManager</a></code></dd> |
| <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 <a href="../../../../org/apache/sshd/client/auth/UserAuth.html" title="interface in org.apache.sshd.client.auth"><code>UserAuth</code></a> <a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common"><code>NamedFactory</code></a>-ies - 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 void 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><<a href="../../../../org/apache/sshd/common/NamedFactory.html" title="interface in org.apache.sshd.common">NamedFactory</a><<a href="../../../../org/apache/sshd/client/auth/UserAuth.html" title="interface in org.apache.sshd.client.auth">UserAuth</a>>> userAuthFactories)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#setUserAuthFactories-java.util.List-">setUserAuthFactories</a></code> in interface <code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html" title="interface in org.apache.sshd.client">ClientAuthenticationManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRegisteredIdentities--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRegisteredIdentities</h4> |
| <pre>public <a href="../../../../org/apache/sshd/client/auth/AuthenticationIdentitiesProvider.html" title="interface in org.apache.sshd.client.auth">AuthenticationIdentitiesProvider</a> getRegisteredIdentities()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#getRegisteredIdentities--">getRegisteredIdentities</a></code> in interface <code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html" title="interface in org.apache.sshd.client">ClientAuthenticationManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPasswordIdentityProvider--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPasswordIdentityProvider</h4> |
| <pre>public <a href="../../../../org/apache/sshd/client/auth/password/PasswordIdentityProvider.html" title="interface in org.apache.sshd.client.auth.password">PasswordIdentityProvider</a> getPasswordIdentityProvider()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#getPasswordIdentityProvider--">getPasswordIdentityProvider</a></code> in interface <code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html" title="interface in org.apache.sshd.client">ClientAuthenticationManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setPasswordIdentityProvider-org.apache.sshd.client.auth.password.PasswordIdentityProvider-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPasswordIdentityProvider</h4> |
| <pre>public void setPasswordIdentityProvider(<a href="../../../../org/apache/sshd/client/auth/password/PasswordIdentityProvider.html" title="interface in org.apache.sshd.client.auth.password">PasswordIdentityProvider</a> provider)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#setPasswordIdentityProvider-org.apache.sshd.client.auth.password.PasswordIdentityProvider-">setPasswordIdentityProvider</a></code> in interface <code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html" title="interface in org.apache.sshd.client">ClientAuthenticationManager</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addPasswordIdentity-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addPasswordIdentity</h4> |
| <pre>public void addPasswordIdentity(<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> password)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#addPasswordIdentity-java.lang.String-">addPasswordIdentity</a></code> in interface <code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html" title="interface in org.apache.sshd.client">ClientAuthenticationManager</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>password</code> - Password to be added - may not be <code>null</code>/empty. |
| <B>Note:</B> this password is <U>in addition</U> to whatever passwords |
| are available via the <a href="../../../../org/apache/sshd/client/auth/password/PasswordIdentityProvider.html" title="interface in org.apache.sshd.client.auth.password"><code>PasswordIdentityProvider</code></a> (if any)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removePasswordIdentity-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removePasswordIdentity</h4> |
| <pre>public <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> removePasswordIdentity(<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> password)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#removePasswordIdentity-java.lang.String-">removePasswordIdentity</a></code> in interface <code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html" title="interface in org.apache.sshd.client">ClientAuthenticationManager</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>password</code> - The password to remove - ignored if <code>null</code>/empty</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The removed password - same one that was added via |
| <a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#addPasswordIdentity-java.lang.String-"><code>ClientAuthenticationManager.addPasswordIdentity(String)</code></a> - or <code>null</code> if no |
| match found</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addPublicKeyIdentity-java.security.KeyPair-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addPublicKeyIdentity</h4> |
| <pre>public void addPublicKeyIdentity(<a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security">KeyPair</a> kp)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#addPublicKeyIdentity-java.security.KeyPair-">addPublicKeyIdentity</a></code> in interface <code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html" title="interface in org.apache.sshd.client">ClientAuthenticationManager</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>kp</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security"><code>KeyPair</code></a> to add - may not be <code>null</code> |
| <B>Note:</B> this key is <U>in addition</U> to whatever keys |
| are available via the <a href="../../../../org/apache/sshd/common/keyprovider/KeyIdentityProvider.html" title="interface in org.apache.sshd.common.keyprovider"><code>KeyIdentityProvider</code></a> (if any)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removePublicKeyIdentity-java.security.KeyPair-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removePublicKeyIdentity</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security">KeyPair</a> removePublicKeyIdentity(<a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security">KeyPair</a> kp)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#removePublicKeyIdentity-java.security.KeyPair-">removePublicKeyIdentity</a></code> in interface <code><a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html" title="interface in org.apache.sshd.client">ClientAuthenticationManager</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>kp</code> - The <a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security"><code>KeyPair</code></a> to remove - ignored if <code>null</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The removed <a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security"><code>KeyPair</code></a> - same one that was added via |
| <a href="../../../../org/apache/sshd/client/ClientAuthenticationManager.html#addPublicKeyIdentity-java.security.KeyPair-"><code>ClientAuthenticationManager.addPublicKeyIdentity(KeyPair)</code></a> - or <code>null</code> if no |
| match found</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="checkConfig--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkConfig</h4> |
| <pre>protected void checkConfig()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/common/AbstractFactoryManager.html#checkConfig--">checkConfig</a></code> in class <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 void start()</pre> |
| </li> |
| </ul> |
| <a name="stop--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>stop</h4> |
| <pre>public void stop()</pre> |
| </li> |
| </ul> |
| <a name="open--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>open</h4> |
| <pre>public void 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 <a href="../../../../org/apache/sshd/common/Closeable.html" title="interface in org.apache.sshd.common">Closeable</a> 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> in class <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="connect-java.lang.String-java.lang.String-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>connect</h4> |
| <pre>public <a href="../../../../org/apache/sshd/client/future/ConnectFuture.html" title="interface in org.apache.sshd.client.future">ConnectFuture</a> connect(<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> username, |
| <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, |
| int port) |
| 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"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/sshd/client/session/ClientSessionCreator.html#connect-java.lang.String-java.lang.String-int-">ClientSessionCreator</a></code></span></div> |
| <div class="block">Resolves the <U>effective</U> <a href="../../../../org/apache/sshd/client/config/hosts/HostConfigEntry.html" title="class in org.apache.sshd.client.config.hosts"><code>HostConfigEntry</code></a> and connects to it</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/session/ClientSessionCreator.html#connect-java.lang.String-java.lang.String-int-">connect</a></code> in interface <code><a href="../../../../org/apache/sshd/client/session/ClientSessionCreator.html" title="interface in org.apache.sshd.client.session">ClientSessionCreator</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>username</code> - The intended username</dd> |
| <dd><code>host</code> - The target host name/address - never <code>null</code>/empty</dd> |
| <dd><code>port</code> - The target port</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A <a href="../../../../org/apache/sshd/client/future/ConnectFuture.html" title="interface in org.apache.sshd.client.future"><code>ConnectFuture</code></a></dd> |
| <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 resolve the effective target or |
| connect to it</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/sshd/client/session/ClientSessionCreator.html#connect-org.apache.sshd.client.config.hosts.HostConfigEntry-"><code>ClientSessionCreator.connect(HostConfigEntry)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="connect-java.lang.String-java.net.SocketAddress-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>connect</h4> |
| <pre>public <a href="../../../../org/apache/sshd/client/future/ConnectFuture.html" title="interface in org.apache.sshd.client.future">ConnectFuture</a> connect(<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> username, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net">SocketAddress</a> address) |
| 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"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../org/apache/sshd/client/session/ClientSessionCreator.html#connect-java.lang.String-java.net.SocketAddress-">ClientSessionCreator</a></code></span></div> |
| <div class="block">Resolves the <U>effective</U> <a href="../../../../org/apache/sshd/client/config/hosts/HostConfigEntry.html" title="class in org.apache.sshd.client.config.hosts"><code>HostConfigEntry</code></a> and connects to it</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/session/ClientSessionCreator.html#connect-java.lang.String-java.net.SocketAddress-">connect</a></code> in interface <code><a href="../../../../org/apache/sshd/client/session/ClientSessionCreator.html" title="interface in org.apache.sshd.client.session">ClientSessionCreator</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>username</code> - The intended username</dd> |
| <dd><code>address</code> - The intended <a href="http://docs.oracle.com/javase/7/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net"><code>SocketAddress</code></a> - never <code>null</code>. If |
| this is an <a href="http://docs.oracle.com/javase/7/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net"><code>InetSocketAddress</code></a> then the <U>effective</U> <a href="../../../../org/apache/sshd/client/config/hosts/HostConfigEntry.html" title="class in org.apache.sshd.client.config.hosts"><code>HostConfigEntry</code></a> |
| is resolved and used.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A <a href="../../../../org/apache/sshd/client/future/ConnectFuture.html" title="interface in org.apache.sshd.client.future"><code>ConnectFuture</code></a></dd> |
| <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 resolve the effective target or |
| connect to it</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/sshd/client/session/ClientSessionCreator.html#connect-org.apache.sshd.client.config.hosts.HostConfigEntry-"><code>ClientSessionCreator.connect(HostConfigEntry)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="connect-org.apache.sshd.client.config.hosts.HostConfigEntry-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>connect</h4> |
| <pre>public <a href="../../../../org/apache/sshd/client/future/ConnectFuture.html" title="interface in org.apache.sshd.client.future">ConnectFuture</a> connect(<a href="../../../../org/apache/sshd/client/config/hosts/HostConfigEntry.html" title="class in org.apache.sshd.client.config.hosts">HostConfigEntry</a> hostConfig) |
| 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="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../org/apache/sshd/client/session/ClientSessionCreator.html#connect-org.apache.sshd.client.config.hosts.HostConfigEntry-">connect</a></code> in interface <code><a href="../../../../org/apache/sshd/client/session/ClientSessionCreator.html" title="interface in org.apache.sshd.client.session">ClientSessionCreator</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>hostConfig</code> - The effective <a href="../../../../org/apache/sshd/client/config/hosts/HostConfigEntry.html" title="class in org.apache.sshd.client.config.hosts"><code>HostConfigEntry</code></a> to connect to - never <code>null</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A <a href="../../../../org/apache/sshd/client/future/ConnectFuture.html" title="interface in org.apache.sshd.client.future"><code>ConnectFuture</code></a></dd> |
| <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 create the connection future</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="loadClientIdentities-java.util.Collection-java.nio.file.LinkOption...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>loadClientIdentities</h4> |
| <pre>protected <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><<a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security">KeyPair</a>> loadClientIdentities(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<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>> locations, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/LinkOption.html?is-external=true" title="class or interface in java.nio.file">LinkOption</a>... options) |
| 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="doConnect-java.lang.String-java.net.SocketAddress-java.util.Collection-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>doConnect</h4> |
| <pre>protected <a href="../../../../org/apache/sshd/client/future/ConnectFuture.html" title="interface in org.apache.sshd.client.future">ConnectFuture</a> doConnect(<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> username, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net">SocketAddress</a> address, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security">KeyPair</a>> identities, |
| boolean useDefaultIdentities) |
| 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="createConnectCompletionListener-org.apache.sshd.client.future.ConnectFuture-java.lang.String-java.net.SocketAddress-java.util.Collection-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConnectCompletionListener</h4> |
| <pre>protected <a href="../../../../org/apache/sshd/common/future/SshFutureListener.html" title="interface in org.apache.sshd.common.future">SshFutureListener</a><<a href="../../../../org/apache/sshd/common/io/IoConnectFuture.html" title="interface in org.apache.sshd.common.io">IoConnectFuture</a>> createConnectCompletionListener(<a href="../../../../org/apache/sshd/client/future/ConnectFuture.html" title="interface in org.apache.sshd.client.future">ConnectFuture</a> connectFuture, |
| <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> username, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net">SocketAddress</a> address, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security">KeyPair</a>> identities, |
| boolean useDefaultIdentities)</pre> |
| </li> |
| </ul> |
| <a name="onConnectOperationComplete-org.apache.sshd.common.io.IoSession-org.apache.sshd.client.future.ConnectFuture-java.lang.String-java.net.SocketAddress-java.util.Collection-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>onConnectOperationComplete</h4> |
| <pre>protected void onConnectOperationComplete(<a href="../../../../org/apache/sshd/common/io/IoSession.html" title="interface in org.apache.sshd.common.io">IoSession</a> ioSession, |
| <a href="../../../../org/apache/sshd/client/future/ConnectFuture.html" title="interface in org.apache.sshd.client.future">ConnectFuture</a> connectFuture, |
| <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> username, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/net/SocketAddress.html?is-external=true" title="class or interface in java.net">SocketAddress</a> address, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><? extends <a href="http://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html?is-external=true" title="class or interface in java.security">KeyPair</a>> identities, |
| boolean useDefaultIdentities)</pre> |
| </li> |
| </ul> |
| <a name="setupDefaultSessionIdentities-org.apache.sshd.client.session.ClientSession-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setupDefaultSessionIdentities</h4> |
| <pre>protected void setupDefaultSessionIdentities(<a href="../../../../org/apache/sshd/client/session/ClientSession.html" title="interface in org.apache.sshd.client.session">ClientSession</a> session)</pre> |
| </li> |
| </ul> |
| <a name="createConnector--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createConnector</h4> |
| <pre>protected <a href="../../../../org/apache/sshd/common/io/IoConnector.html" title="interface in org.apache.sshd.common.io">IoConnector</a> createConnector()</pre> |
| </li> |
| </ul> |
| <a name="createSessionFactory--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createSessionFactory</h4> |
| <pre>protected <a href="../../../../org/apache/sshd/client/session/SessionFactory.html" title="class in org.apache.sshd.client.session">SessionFactory</a> createSessionFactory()</pre> |
| </li> |
| </ul> |
| <a name="toString--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public <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> 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> in class <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="setUpDefaultSimpleClient--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setUpDefaultSimpleClient</h4> |
| <pre>public static <a href="../../../../org/apache/sshd/client/simple/SimpleClient.html" title="interface in org.apache.sshd.client.simple">SimpleClient</a> setUpDefaultSimpleClient()</pre> |
| <div class="block">Setup a default client, starts it and then wraps it as a <a href="../../../../org/apache/sshd/client/simple/SimpleClient.html" title="interface in org.apache.sshd.client.simple"><code>SimpleClient</code></a></div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The <a href="../../../../org/apache/sshd/client/simple/SimpleClient.html" title="interface in org.apache.sshd.client.simple"><code>SimpleClient</code></a> wrapper. <B>Note:</B> when the wrapper |
| is closed the client is also stopped</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/sshd/client/SshClient.html#setUpDefaultClient--"><code>setUpDefaultClient()</code></a>, |
| <a href="../../../../org/apache/sshd/client/SshClient.html#wrapAsSimpleClient-org.apache.sshd.client.SshClient-"><code>wrapAsSimpleClient(SshClient)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="wrapAsSimpleClient-org.apache.sshd.client.SshClient-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>wrapAsSimpleClient</h4> |
| <pre>public static <a href="../../../../org/apache/sshd/client/simple/SimpleClient.html" title="interface in org.apache.sshd.client.simple">SimpleClient</a> wrapAsSimpleClient(<a href="../../../../org/apache/sshd/client/SshClient.html" title="class in org.apache.sshd.client">SshClient</a> client)</pre> |
| <div class="block">Wraps an <a href="../../../../org/apache/sshd/client/SshClient.html" title="class in org.apache.sshd.client"><code>SshClient</code></a> instance as a <a href="../../../../org/apache/sshd/client/simple/SimpleClient.html" title="interface in org.apache.sshd.client.simple"><code>SimpleClient</code></a></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>client</code> - The client instance - never <code>null</code>. <B>Note:</B> |
| client must be started <U>before</U> the simple client wrapper is used.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The <a href="../../../../org/apache/sshd/client/simple/SimpleClient.html" title="interface in org.apache.sshd.client.simple"><code>SimpleClient</code></a> wrapper. <B>Note:</B> when the |
| wrapper is closed the client is also stopped</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setUpDefaultClient--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setUpDefaultClient</h4> |
| <pre>public static <a href="../../../../org/apache/sshd/client/SshClient.html" title="class in org.apache.sshd.client">SshClient</a> setUpDefaultClient()</pre> |
| <div class="block">Setup a default client. The client does not require any additional setup.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a newly create SSH client</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="showError-java.io.PrintStream-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>showError</h4> |
| <pre>public static boolean showError(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> stderr, |
| <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> message)</pre> |
| </li> |
| </ul> |
| <a name="isArgumentedOption-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isArgumentedOption</h4> |
| <pre>public static boolean isArgumentedOption(<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> portOption, |
| <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> argName)</pre> |
| </li> |
| </ul> |
| <a name="setupClientSession-java.lang.String-java.io.BufferedReader-java.io.PrintStream-java.io.PrintStream-java.lang.String...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setupClientSession</h4> |
| <pre>public static <a href="../../../../org/apache/sshd/client/session/ClientSession.html" title="interface in org.apache.sshd.client.session">ClientSession</a> setupClientSession(<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> portOption, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html?is-external=true" title="class or interface in java.io">BufferedReader</a> stdin, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> stdout, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> stderr, |
| <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>... 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> |
| <a name="resolveLoggingVerbosity-java.lang.String...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>resolveLoggingVerbosity</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true" title="class or interface in java.util.logging">Level</a> resolveLoggingVerbosity(<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>... args)</pre> |
| </li> |
| </ul> |
| <a name="resolveLoggingVerbosity-java.lang.String:A-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>resolveLoggingVerbosity</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true" title="class or interface in java.util.logging">Level</a> resolveLoggingVerbosity(<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>[] args, |
| int maxIndex)</pre> |
| </li> |
| </ul> |
| <a name="resolveLoggingTargetStream-java.io.PrintStream-java.io.PrintStream-java.lang.String...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>resolveLoggingTargetStream</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> resolveLoggingTargetStream(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> stdout, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> stderr, |
| <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>... args)</pre> |
| </li> |
| </ul> |
| <a name="resolveLoggingTargetStream-java.io.PrintStream-java.io.PrintStream-java.lang.String:A-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>resolveLoggingTargetStream</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> resolveLoggingTargetStream(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> stdout, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> stderr, |
| <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>[] args, |
| int maxIndex)</pre> |
| </li> |
| </ul> |
| <a name="setupLogging-java.util.logging.Level-java.io.PrintStream-java.io.PrintStream-java.io.OutputStream-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setupLogging</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Handler.html?is-external=true" title="class or interface in java.util.logging">Handler</a> setupLogging(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html?is-external=true" title="class or interface in java.util.logging">Level</a> level, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> stdout, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html?is-external=true" title="class or interface in java.io">PrintStream</a> stderr, |
| <a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> outputStream)</pre> |
| </li> |
| </ul> |
| <a name="main-java.lang.String:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>main</h4> |
| <pre>public static void 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>[] 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/SshClient.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/client/ClientFactoryManager.html" title="interface in org.apache.sshd.client"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/sshd/client/SshKeyScan.html" title="class in org.apache.sshd.client"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/sshd/client/SshClient.html" target="_top">Frames</a></li> |
| <li><a href="SshClient.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All 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: </li> |
| <li><a href="#nested.classes.inherited.from.class.org.apache.sshd.common.util.closeable.AbstractCloseable">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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 © 2008–2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |