Package org.jline.builtins.ssh
Class Ssh
java.lang.Object
org.jline.builtins.ssh.Ssh
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSsh
(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
(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)
-
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(org.jline.terminal.Terminal terminal, org.jline.reader.LineReader reader, String user, InputStream stdin, PrintStream stdout, PrintStream stderr, String[] argv) throws Exception - Throws:
Exception
-
sshd
- Throws:
Exception
-