Fix example in SSHClient doc

This commit is contained in:
Shikhar Bhushan
2011-12-04 18:14:16 +00:00
parent a942edb911
commit e193db9a14

View File

@@ -92,8 +92,8 @@ import java.util.List;
* <em>A simple example:</em> * <em>A simple example:</em>
* <p/> * <p/>
* <pre> * <pre>
* client = new SSHClient(); * final SSHClient client = new SSHClient();
* client.initUserKnownHosts(); * client.loadKnownHosts();
* client.connect(&quot;hostname&quot;); * client.connect(&quot;hostname&quot;);
* try { * try {
* client.authPassword(&quot;username&quot;, &quot;password&quot;); * client.authPassword(&quot;username&quot;, &quot;password&quot;);