- getStdout
- close
Close this session. NEVER forget to call this method to free up resources - even
if you got an excep
- execCommand
Execute a command on the remote machine.
- getStderr
- waitForCondition
This method blocks until certain conditions hold true on the underlying SSH-2
channel. This method r
- getStdin
- getExitStatus
Get the exit code/status from the remote command - if available. Be careful -
not all server impleme
- requestPTY
Allocate a pseudo-terminal for this session. This method may only be called
before a program or shel
- startShell
Start a shell on the remote machine.
- startSubSystem
Start a subsystem on the remote machine. Unless you know what you are doing, you
will never need thi
- <init>
- ping
This method can be used to perform end-to-end session (i.e., SSH channel)
testing. It sends a 'ping'