Class SshClientHelper
java.lang.Object
com.sshtools.vsession.commands.ssh.SshClientHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
Constructor Details
-
SshClientHelper
public SshClientHelper()
-
-
Method Details
-
getSshContext
public static SshClientContext getSshContext(SshClientArguments arguments) throws IOException, com.sshtools.common.ssh.SshException - Throws:
IOException
com.sshtools.common.ssh.SshException
-
setUpCipherSpecs
public static void setUpCipherSpecs(SshClientArguments arguments, SshClientContext ctx) throws IOException, com.sshtools.common.ssh.SshException - Throws:
IOException
com.sshtools.common.ssh.SshException
-
setUpMacSpecs
public static void setUpMacSpecs(SshClientArguments arguments, SshClientContext ctx) throws IOException, com.sshtools.common.ssh.SshException - Throws:
IOException
com.sshtools.common.ssh.SshException
-
setUpCompression
public static void setUpCompression(SshClientArguments arguments, SshClientContext ctx) throws IOException, com.sshtools.common.ssh.SshException - Throws:
IOException
com.sshtools.common.ssh.SshException
-
connectClient
public static SshClient connectClient(SshClientArguments arguments, VirtualConsole console) throws IOException, com.sshtools.common.ssh.SshException, com.sshtools.common.permissions.PermissionDeniedException - Throws:
IOException
com.sshtools.common.ssh.SshException
com.sshtools.common.permissions.PermissionDeniedException
-