Package com.atlassian.bamboo.plugins.ssh
Class SshProxy
java.lang.Object
com.atlassian.bamboo.plugins.ssh.SshProxy
- All Implemented Interfaces:
ProxyConnectionDataProvider
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(String proxyUserName, ProxyConnectionData data) protected org.apache.sshd.server.command.CommandFactory
getConnectionData
(String proxyUserName) getHost()
int
getPort()
static @Nullable SshProxy
void
@Nullable SshProxy
start()
@Nullable SshProxy
start
(org.apache.sshd.common.channel.ChannelFactory factory) void
stop()
-
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:
getConnectionData
in interfaceProxyConnectionDataProvider
-
remove
-
add
-
createCommandFactory
protected org.apache.sshd.server.command.CommandFactory createCommandFactory() -
getHost
-
getPort
public int getPort() -
getClientInitializationException
-