public class Ssh extends Object
Modifier and Type | Class | Description |
---|---|---|
static class |
Ssh.ExecuteParams |
|
static class |
Ssh.ShellParams |
Constructor | 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 | Description |
---|---|---|
void |
ssh(Terminal terminal,
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(Terminal terminal, LineReader reader, String user, InputStream stdin, PrintStream stdout, PrintStream stderr, String[] argv) throws Exception
Exception
public void sshd(PrintStream stdout, PrintStream stderr, String[] argv) throws Exception
Exception
Copyright © 2020. All rights reserved.