mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 15:20:54 +03:00
Fix example in SSHClient doc
This commit is contained in:
@@ -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("hostname");
|
* client.connect("hostname");
|
||||||
* try {
|
* try {
|
||||||
* client.authPassword("username", "password");
|
* client.authPassword("username", "password");
|
||||||
|
|||||||
Reference in New Issue
Block a user