public interface SshPublicKeySubsystem extends SshLifecycleComponent
SshClient.createPublicKeySubsystem(), which may then be used the
keys.| Modifier and Type | Method and Description |
|---|---|
void |
add(SshPublicKey key,
java.lang.String comment)
Add a new authorized key.
|
SshPublicKey[] |
list()
List all of the available authorized keys.
|
void |
remove(SshPublicKey key)
Remove a key from the list of available authorized keys.
|
addListener, close, isOpen, open, removeListenervoid add(SshPublicKey key, java.lang.String comment) throws SshException
key - keycomment - commentSshExceptionSshPublicKey[] list() throws SshException
SshExceptionvoid remove(SshPublicKey key) throws SshException
key - SshExceptionCopyright © 2018. All rights reserved.