com.atlassian.bamboo.plugins.ssh
Class SshProxy

java.lang.Object
  extended by 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)
           
 
Method Summary
 void add(java.lang.String proxyUserName, ProxyConnectionData data)
           
protected  org.apache.sshd.server.CommandFactory createCommandFactory()
           
 java.lang.Exception getClientInitializationException()
           
 ProxyConnectionData getConnectionData(java.lang.String proxyUserName)
           
 java.lang.String getHost()
           
 int getPort()
           
static SshProxy getRunningInstance()
           
 void remove(java.lang.String proxyUserName)
           
 SshProxy start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sshServer

protected org.apache.sshd.SshServer sshServer
Constructor Detail

SshProxy

public SshProxy()

SshProxy

protected SshProxy(java.io.File defaultKnownHostsFile)
Method Detail

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.