minor doc update

This commit is contained in:
Shikhar Bhushan
2010-08-12 17:19:28 +01:00
parent 168272ad3b
commit 8a4367cc7a

View File

@@ -95,13 +95,15 @@ import java.util.List;
* client = new SSHClient();
* client.initUserKnownHosts();
* client.connect("hostname");
* try
* {
* try {
* client.authPassword("username", "password");
* client.startSession().exec("true");
* final Session session = client.startSession();
* try {
* session.exec("true");
* client.getConnection().join();
* } finally
* {
* } finally {
* session.close();
* } finally {
* client.disconnect();
* }
* </pre>
@@ -119,7 +121,6 @@ public class SSHClient
/** Logger */
protected final Logger log = LoggerFactory.getLogger(getClass());
/** Transport layer */
protected final Transport trans;