Package | Description |
---|---|
net.schmizz.sshj | |
net.schmizz.sshj.userauth.keyprovider | |
net.schmizz.sshj.userauth.method |
Modifier and Type | Method and Description |
---|---|
KeyProvider |
SSHClient.loadKeys(KeyPair kp)
Creates a
KeyProvider from supplied KeyPair . |
KeyProvider |
SSHClient.loadKeys(String location)
Returns a
KeyProvider instance created from a location on the file system where an unencrypted
private key file (does not require a passphrase) can be found. |
KeyProvider |
SSHClient.loadKeys(String location,
char[] passphrase)
Utility function for createing a
KeyProvider instance from given location on the file system. |
KeyProvider |
SSHClient.loadKeys(String location,
PasswordFinder passwordFinder)
Creates a
KeyProvider instance from given location on the file system. |
KeyProvider |
SSHClient.loadKeys(String location,
String passphrase)
Convenience method for creating a
KeyProvider instance from a location where an encrypted
key file is located. |
KeyProvider |
SSHClient.loadKeys(String privateKey,
String publicKey,
PasswordFinder passwordFinder)
Creates a
KeyProvider instance from passed strings. |
Modifier and Type | Method and Description |
---|---|
void |
SSHClient.authPublickey(String username,
KeyProvider... keyProviders)
Authenticate
username using the "publickey" authentication method. |
Modifier and Type | Method and Description |
---|---|
void |
SSHClient.authPublickey(String username,
Iterable<KeyProvider> keyProviders)
Authenticate
username using the "publickey" authentication method. |
Modifier and Type | Interface and Description |
---|---|
interface |
FileKeyProvider
A file key provider is initialized with a location of
|
Modifier and Type | Class and Description |
---|---|
class |
KeyPairWrapper
A
KeyProvider wrapper around KeyPair |
class |
OpenSSHKeyFile
Represents an OpenSSH identity that consists of a PKCS8-encoded private key file and an unencrypted public key file
of the same name with the
".pub" extension. |
class |
PKCS8KeyFile
Represents a PKCS8-encoded key file.
|
Modifier and Type | Field and Description |
---|---|
protected KeyProvider |
KeyedAuthMethod.kProv |
Constructor and Description |
---|
AuthHostbased(KeyProvider kProv,
String hostname,
String hostuser) |
AuthPublickey(KeyProvider kProv)
Initialize this method with the provider for public and private key.
|
KeyedAuthMethod(String name,
KeyProvider kProv) |
Copyright © 2009-2013. All Rights Reserved.