public class SshCompatibilityUtils extends Object
Constructor and Description |
---|
SshCompatibilityUtils() |
Modifier and Type | Method and Description |
---|---|
static SshPublicKey |
getHostKey(String hostname,
int port) |
static SshPublicKey |
getHostKey(String hostname,
int port,
String algorithm) |
static SshClient |
getRemoteClient(String hostname,
int port,
String username,
String password,
boolean tcpNoDelay) |
static SshClient |
getRemoteClient(String hostname,
int port,
String username,
String password,
boolean tcpNoDelay,
String cipher) |
static ConfigurationCollector |
getRemoteConfiguration(String hostname,
int port) |
static String[] |
getSupportedHostKeyAlgorithms(String hostname,
int port) |
static Set<SshPublicKey> |
getSupportedHostKeys(String hostname,
int port) |
public static String[] getSupportedHostKeyAlgorithms(String hostname, int port) throws SshException, IOException
SshException
IOException
public static SshPublicKey getHostKey(String hostname, int port) throws SshException, IOException
SshException
IOException
public static Set<SshPublicKey> getSupportedHostKeys(String hostname, int port) throws SshException, IOException
SshException
IOException
public static SshPublicKey getHostKey(String hostname, int port, String algorithm) throws SshException, IOException
SshException
IOException
public static ConfigurationCollector getRemoteConfiguration(String hostname, int port) throws SshException, IOException
SshException
IOException
public static SshClient getRemoteClient(String hostname, int port, String username, String password, boolean tcpNoDelay) throws SshException, IOException
SshException
IOException
public static SshClient getRemoteClient(String hostname, int port, String username, String password, boolean tcpNoDelay, String cipher) throws SshException, IOException
SshException
IOException
Copyright © 2024. All rights reserved.