Package com.atlassian.bamboo.plugins.ssh
Class OneKeyPairProvider
- java.lang.Object
-
- org.apache.sshd.common.util.logging.AbstractLoggingBean
-
- org.apache.sshd.common.keyprovider.AbstractKeyPairProvider
-
- com.atlassian.bamboo.plugins.ssh.OneKeyPairProvider
-
- All Implemented Interfaces:
org.apache.sshd.common.keyprovider.KeyIdentityProvider
,org.apache.sshd.common.keyprovider.KeyPairProvider
public class OneKeyPairProvider extends org.apache.sshd.common.keyprovider.AbstractKeyPairProvider
Creates one key per class instance. After initialization, loadKeys() will always return the same key.
-
-
Field Summary
-
Fields inherited from interface org.apache.sshd.common.keyprovider.KeyIdentityProvider
EMPTY_KEYS_PROVIDER
-
Fields inherited from interface org.apache.sshd.common.keyprovider.KeyPairProvider
ECDSA_SHA2_NISTP256, ECDSA_SHA2_NISTP384, ECDSA_SHA2_NISTP521, EMPTY_KEYPAIR_PROVIDER, SSH_DSS, SSH_DSS_CERT, SSH_ECDSA_SHA2_NISTP256_CERT, SSH_ECDSA_SHA2_NISTP384_CERT, SSH_ECDSA_SHA2_NISTP521_CERT, SSH_ED25519, SSH_ED25519_CERT, SSH_RSA, SSH_RSA_CERT
-
-
Constructor Summary
Constructors Constructor Description OneKeyPairProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<KeyPair>
loadKeys(org.apache.sshd.common.session.SessionContext session)
-
Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
-
-