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) |
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>
Exception
public com.google.common.net.HostAndPort getHostAndPort()
22
public LoginCredentials getLoginCredentials()
public int getConnectTimeout()
public int getSessionTimeout()
0
for indefinitelypublic net.schmizz.sshj.SSHClient getSSHClient()
null
if not connectedCopyright © 2009-2013 jclouds. All Rights Reserved.