public class SSHClientConnection extends Object implements SshjSshClient.Connection<net.schmizz.sshj.SSHClient>
| Modifier and Type | Class and Description |
|---|---|
static class |
SSHClientConnection.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SSHClientConnection.Builder |
builder() |
void |
clear() |
net.schmizz.sshj.SSHClient |
create() |
boolean |
equals(Object o) |
com.google.common.base.Optional<com.jcraft.jsch.agentproxy.Connector> |
getAgentConnector() |
int |
getConnectTimeout() |
com.google.common.net.HostAndPort |
getHostAndPort() |
LoginCredentials |
getLoginCredentials() |
int |
getSessionTimeout() |
net.schmizz.sshj.SSHClient |
getSSHClient() |
int |
hashCode() |
String |
toString() |
@Named(value="jclouds.ssh") protected Logger logger
public static SSHClientConnection.Builder builder()
public void clear()
clear in interface SshjSshClient.Connection<net.schmizz.sshj.SSHClient>public net.schmizz.sshj.SSHClient create()
throws Exception
create in interface SshjSshClient.Connection<net.schmizz.sshj.SSHClient>Exceptionpublic com.google.common.net.HostAndPort getHostAndPort()
22public LoginCredentials getLoginCredentials()
public int getConnectTimeout()
public int getSessionTimeout()
0 for indefinitelypublic com.google.common.base.Optional<com.jcraft.jsch.agentproxy.Connector> getAgentConnector()
public net.schmizz.sshj.SSHClient getSSHClient()
null if not connectedCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.