public class SshClientHelper
extends java.lang.Object
Constructor and Description |
---|
SshClientHelper() |
Modifier and Type | Method and Description |
---|---|
static SshClient |
connectClient(SshClientArguments arguments,
VirtualConsole console) |
static SshClientContext |
getSshContext(SshClientArguments arguments) |
static void |
setUpCipherSpecs(SshClientArguments arguments,
SshClientContext ctx) |
static void |
setUpCompression(SshClientArguments arguments,
SshClientContext ctx) |
static void |
setUpMacSpecs(SshClientArguments arguments,
SshClientContext ctx) |
public static SshClientContext getSshContext(SshClientArguments arguments) throws java.io.IOException, com.sshtools.common.ssh.SshException
java.io.IOException
com.sshtools.common.ssh.SshException
public static void setUpCipherSpecs(SshClientArguments arguments, SshClientContext ctx) throws java.io.IOException, com.sshtools.common.ssh.SshException
java.io.IOException
com.sshtools.common.ssh.SshException
public static void setUpMacSpecs(SshClientArguments arguments, SshClientContext ctx) throws java.io.IOException, com.sshtools.common.ssh.SshException
java.io.IOException
com.sshtools.common.ssh.SshException
public static void setUpCompression(SshClientArguments arguments, SshClientContext ctx) throws java.io.IOException, com.sshtools.common.ssh.SshException
java.io.IOException
com.sshtools.common.ssh.SshException
public static SshClient connectClient(SshClientArguments arguments, VirtualConsole console) throws java.io.IOException, com.sshtools.common.ssh.SshException, com.sshtools.common.permissions.PermissionDeniedException
java.io.IOException
com.sshtools.common.ssh.SshException
com.sshtools.common.permissions.PermissionDeniedException
Copyright © 2021. All rights reserved.