public class SshCompatibilityUtils
extends java.lang.Object
Constructor and Description |
---|
SshCompatibilityUtils() |
Modifier and Type | Method and Description |
---|---|
static com.sshtools.common.ssh.components.SshPublicKey |
getHostKey(java.lang.String hostname,
int port) |
static com.sshtools.common.ssh.components.SshPublicKey |
getHostKey(java.lang.String hostname,
int port,
java.lang.String algorithm) |
static SshClient |
getRemoteClient(java.lang.String hostname,
int port,
java.lang.String username,
java.lang.String password,
boolean tcpNoDelay) |
static com.sshtools.common.ssh.SshConnection |
getRemoteConfiguration(java.lang.String hostname,
int port) |
static java.lang.String[] |
getSupportedHostKeyAlgorithms(java.lang.String hostname,
int port) |
static java.util.Set<com.sshtools.common.ssh.components.SshPublicKey> |
getSupportedHostKeys(java.lang.String hostname,
int port) |
public static java.lang.String[] getSupportedHostKeyAlgorithms(java.lang.String hostname, int port) throws com.sshtools.common.ssh.SshException, java.io.IOException
com.sshtools.common.ssh.SshException
java.io.IOException
public static com.sshtools.common.ssh.components.SshPublicKey getHostKey(java.lang.String hostname, int port) throws com.sshtools.common.ssh.SshException, java.io.IOException
com.sshtools.common.ssh.SshException
java.io.IOException
public static java.util.Set<com.sshtools.common.ssh.components.SshPublicKey> getSupportedHostKeys(java.lang.String hostname, int port) throws com.sshtools.common.ssh.SshException, java.io.IOException
com.sshtools.common.ssh.SshException
java.io.IOException
public static com.sshtools.common.ssh.components.SshPublicKey getHostKey(java.lang.String hostname, int port, java.lang.String algorithm) throws com.sshtools.common.ssh.SshException, java.io.IOException
com.sshtools.common.ssh.SshException
java.io.IOException
public static com.sshtools.common.ssh.SshConnection getRemoteConfiguration(java.lang.String hostname, int port) throws java.io.IOException, com.sshtools.common.ssh.SshException
java.io.IOException
com.sshtools.common.ssh.SshException
public static SshClient getRemoteClient(java.lang.String hostname, int port, java.lang.String username, java.lang.String password, boolean tcpNoDelay) throws com.sshtools.common.ssh.SshException, java.io.IOException
com.sshtools.common.ssh.SshException
java.io.IOException
Copyright © 2021. All rights reserved.