Package org.jline.builtins.ssh
Class Ssh
java.lang.Object
org.jline.builtins.ssh.Ssh
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSsh
(Consumer<Ssh.ShellParams> shell, Consumer<Ssh.ExecuteParams> execute, Supplier<org.apache.sshd.server.SshServer> serverBuilder, Supplier<org.apache.sshd.client.SshClient> clientBuilder) -
Method Summary
Modifier and TypeMethodDescriptionvoid
ssh
(Terminal terminal, LineReader reader, String user, InputStream stdin, PrintStream stdout, PrintStream stderr, String[] argv) void
sshd
(PrintStream stdout, PrintStream stderr, String[] argv)
-
Field Details
-
functions
-
-
Constructor Details
-
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 Details
-
ssh
public void ssh(Terminal terminal, LineReader reader, String user, InputStream stdin, PrintStream stdout, PrintStream stderr, String[] argv) throws Exception - Throws:
Exception
-
sshd
- Throws:
Exception
-