public class Ssh extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Ssh.ExecuteParams |
static class |
Ssh.ShellParams |
| Constructor and Description |
|---|
Ssh(Consumer<Ssh.ShellParams> shell,
Consumer<Ssh.ExecuteParams> execute,
Supplier<org.apache.sshd.server.SshServer> serverBuilder,
Supplier<org.apache.sshd.client.SshClient> clientBuilder) |
| Modifier and Type | Method and Description |
|---|---|
void |
ssh(org.jline.terminal.Terminal terminal,
org.jline.reader.LineReader reader,
String user,
InputStream stdin,
PrintStream stdout,
PrintStream stderr,
String[] argv) |
void |
sshd(PrintStream stdout,
PrintStream stderr,
String[] argv) |
public static final String[] functions
public Ssh(Consumer<Ssh.ShellParams> shell, Consumer<Ssh.ExecuteParams> execute, Supplier<org.apache.sshd.server.SshServer> serverBuilder, Supplier<org.apache.sshd.client.SshClient> clientBuilder)
public void ssh(org.jline.terminal.Terminal terminal,
org.jline.reader.LineReader reader,
String user,
InputStream stdin,
PrintStream stdout,
PrintStream stderr,
String[] argv)
throws Exception
Exceptionpublic void sshd(PrintStream stdout, PrintStream stderr, String[] argv) throws Exception
ExceptionCopyright © 2020. All rights reserved.