Package com.atlassian.bamboo.plugins.ssh
Class AtlassianSshClientAndServerFactory
- java.lang.Object
-
- com.atlassian.bamboo.plugins.ssh.AtlassianSshClientAndServerFactory
-
- All Implemented Interfaces:
SshClientAndServerFactory
public class AtlassianSshClientAndServerFactory extends Object implements SshClientAndServerFactory
-
-
Field Summary
Fields Modifier and Type Field Description static AtlassianSshClientAndServerFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description AtlassianSshClientAndServerFactory()
AtlassianSshClientAndServerFactory(long authTimeout, TimeUnit authTimeoutUnit, long idleTimeout, TimeUnit idleTimeoutUnit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.sshd.client.SshClient
createSshClient()
clone ofSshClient.setUpDefaultClient()
with Atlassian crypto factoryorg.apache.sshd.server.SshServer
createSshServer()
clone ofSshServer.setUpDefaultServer()
with Atlassian crypto factory
-
-
-
Field Detail
-
INSTANCE
public static final AtlassianSshClientAndServerFactory INSTANCE
-
-
Method Detail
-
createSshClient
public org.apache.sshd.client.SshClient createSshClient()
clone ofSshClient.setUpDefaultClient()
with Atlassian crypto factory- Specified by:
createSshClient
in interfaceSshClientAndServerFactory
-
createSshServer
public org.apache.sshd.server.SshServer createSshServer()
clone ofSshServer.setUpDefaultServer()
with Atlassian crypto factory- Specified by:
createSshServer
in interfaceSshClientAndServerFactory
-
-