Package com.atlassian.bamboo.plugins.ssh
Class SshProxy
java.lang.Object
com.atlassian.bamboo.plugins.ssh.SshProxy
- All Implemented Interfaces:
ProxyConnectionDataProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(String proxyUserName, ProxyConnectionData data) protected org.apache.sshd.server.command.CommandFactorygetConnectionData(String proxyUserName) getHost()intgetPort()static @Nullable SshProxyvoid@Nullable SshProxystart()@Nullable SshProxystart(org.apache.sshd.common.channel.ChannelFactory factory) voidstop()
-
Field Details
-
sshServer
protected org.apache.sshd.server.SshServer sshServer -
sshClient
protected org.apache.sshd.client.SshClient sshClient
-
-
Constructor Details
-
SshProxy
-
-
Method Details
-
getRunningInstance
-
start
-
start
-
stop
public void stop() -
getConnectionData
- Specified by:
getConnectionDatain interfaceProxyConnectionDataProvider
-
remove
-
add
-
createCommandFactory
protected org.apache.sshd.server.command.CommandFactory createCommandFactory() -
getHost
-
getPort
public int getPort() -
getClientInitializationException
-