public class SshSessionPool extends Object
Constructor and Description |
---|
SshSessionPool() |
Modifier and Type | Method and Description |
---|---|
SshSession |
openSession(String host,
int port,
String userName,
char[] privateKey,
char[] passphrase,
char[] password,
com.trilead.ssh2.auth.AgentProxy agentProxy,
com.trilead.ssh2.ServerHostKeyVerifier verifier,
int connectTimeout,
int readTimeout) |
void |
shutdown() |
public void shutdown()
public SshSession openSession(String host, int port, String userName, char[] privateKey, char[] passphrase, char[] password, com.trilead.ssh2.auth.AgentProxy agentProxy, com.trilead.ssh2.ServerHostKeyVerifier verifier, int connectTimeout, int readTimeout) throws IOException
IOException
Copyright © 2022. All rights reserved.