Package | Description |
---|---|
com.maverick.ssh |
This package contains a set of general interface contracts for SSH communication that
provide the core set of functionality available in both the SSH1 and SSH2 protocol specifications.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
SshSession.getInputStream()
Get an InputStream to read the process stdout.
|
OutputStream |
SshSession.getOutputStream()
Get an OutputStream to write to the process stdin.
|
OutputStream |
ShellProcess.getOutputStream() |
InputStream |
SshSession.getStderrInputStream()
Get an InputStream to read the process stderr.
|
Shell |
Shell.su(String cmd) |
Shell |
Shell.su(String cmd,
String password) |
Shell |
Shell.su(String cmd,
String password,
String promptExpression) |
Shell |
Shell.su(String cmd,
String password,
String promptExpression,
ShellMatcher matcher) |
Constructor and Description |
---|
Shell(SshClient ssh) |
Shell(SshClient ssh,
ShellStartupTrigger trigger) |
Shell(SshClient ssh,
ShellStartupTrigger trigger,
long startupTimeout) |
Shell(SshClient ssh,
ShellStartupTrigger trigger,
long startupTimeout,
String termtype) |
Shell(SshClient ssh,
ShellStartupTrigger trigger,
long startupTimeout,
String termtype,
int cols,
int rows) |
Copyright © 2024. All rights reserved.