com.atlassian.bamboo.plugins.ssh
Class SshProxy
java.lang.Object
com.atlassian.bamboo.plugins.ssh.SshProxy
- All Implemented Interfaces:
- ProxyConnectionDataProvider
public class SshProxy
- extends java.lang.Object
- implements ProxyConnectionDataProvider
Field Summary |
protected org.apache.sshd.SshServer |
sshServer
|
Constructor Summary |
|
SshProxy()
|
protected |
SshProxy(java.io.File defaultKnownHostsFile)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sshServer
protected org.apache.sshd.SshServer sshServer
SshProxy
public SshProxy()
SshProxy
protected SshProxy(java.io.File defaultKnownHostsFile)
getRunningInstance
@Nullable
public static SshProxy getRunningInstance()
start
@Nullable
public SshProxy start()
stop
public void stop()
getConnectionData
public ProxyConnectionData getConnectionData(java.lang.String proxyUserName)
- Specified by:
getConnectionData
in interface ProxyConnectionDataProvider
remove
public void remove(java.lang.String proxyUserName)
add
public void add(java.lang.String proxyUserName,
ProxyConnectionData data)
createCommandFactory
protected org.apache.sshd.server.CommandFactory createCommandFactory()
getHost
public java.lang.String getHost()
getPort
public int getPort()
getClientInitializationException
public java.lang.Exception getClientInitializationException()
Copyright © 2012 Atlassian. All Rights Reserved.