- java.lang.Object
-
- org.jline.builtins.ssh.Ssh
-
public class Ssh extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Ssh.ExecuteParams
static class
Ssh.ShellParams
-
Constructor Summary
Constructors 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)
-
Method Summary
All Methods Instance Methods Concrete Methods 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)
-
-
-
Field Detail
-
functions
public static final String[] functions
-
-
Constructor Detail
-
Ssh
public Ssh(Consumer<Ssh.ShellParams> shell, Consumer<Ssh.ExecuteParams> execute, Supplier<org.apache.sshd.server.SshServer> serverBuilder, Supplier<org.apache.sshd.client.SshClient> clientBuilder)
-
-
Method Detail
-
ssh
public void ssh(Terminal terminal, LineReader reader, String user, InputStream stdin, PrintStream stdout, PrintStream stderr, String[] argv) throws Exception
- Throws:
Exception
-
sshd
public void sshd(PrintStream stdout, PrintStream stderr, String[] argv) throws Exception
- Throws:
Exception
-
-