mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 07:10:53 +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>
|
||||
* <p/>
|
||||
* <pre>
|
||||
* client = new SSHClient();
|
||||
* client.initUserKnownHosts();
|
||||
* final SSHClient client = new SSHClient();
|
||||
* client.loadKnownHosts();
|
||||
* client.connect("hostname");
|
||||
* try {
|
||||
* client.authPassword("username", "password");
|
||||
|
||||
Reference in New Issue
Block a user