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
SshExceptionIOExceptionpublic static SshPublicKey getHostKey(String hostname, int port) throws SshException, IOException
SshExceptionIOExceptionpublic static Set<SshPublicKey> getSupportedHostKeys(String hostname, int port) throws SshException, IOException
SshExceptionIOExceptionpublic static SshPublicKey getHostKey(String hostname, int port, String algorithm) throws SshException, IOException
SshExceptionIOExceptionpublic static ConfigurationCollector getRemoteConfiguration(String hostname, int port) throws SshException, IOException
SshExceptionIOExceptionpublic static SshClient getRemoteClient(String hostname, int port, String username, String password, boolean tcpNoDelay) throws SshException, IOException
SshExceptionIOExceptionpublic static SshClient getRemoteClient(String hostname, int port, String username, String password, boolean tcpNoDelay, String cipher) throws SshException, IOException
SshExceptionIOExceptionCopyright © 2025. All rights reserved.