Package com.tailf.ned

Class SSHSession

Object
com.tailf.ned.SSHSession
All Implemented Interfaces:
CliSession

public class SSHSession extends Object implements CliSession
A SSH transport. This class uses the Ganymed SSH implementation. ( http://www.ganymed.ethz.ch/ssh2/)

Example:

 SSHConnection c = new SSHConnection("127.0.0.1", 22);
 c.authenticateWithPassword("ola", "secret");
 SSHSession ssh = new SSHSession(c);