Class SshProxy

java.lang.Object
com.atlassian.bamboo.plugins.ssh.SshProxy
All Implemented Interfaces:
ProxyConnectionDataProvider

public class SshProxy extends Object implements ProxyConnectionDataProvider
  • Field Details

    • sshServer

      protected org.apache.sshd.server.SshServer sshServer
    • sshClient

      protected org.apache.sshd.client.SshClient sshClient
  • Constructor Details

  • Method Details

    • getRunningInstance

      @Nullable public static @Nullable SshProxy getRunningInstance()
    • start

      @Nullable public @Nullable SshProxy start()
    • start

      @Nullable public @Nullable SshProxy start(org.apache.sshd.common.channel.ChannelFactory factory)
    • stop

      public void stop()
    • getConnectionData

      public ProxyConnectionData getConnectionData(String proxyUserName)
      Specified by:
      getConnectionData in interface ProxyConnectionDataProvider
    • remove

      public void remove(String proxyUserName)
    • add

      public void add(String proxyUserName, ProxyConnectionData data)
    • createCommandFactory

      protected org.apache.sshd.server.command.CommandFactory createCommandFactory()
    • getHost

      public String getHost()
    • getPort

      public int getPort()
    • getClientInitializationException

      public Exception getClientInitializationException()