Class PublicKeyEntry
java.lang.Object
com.sshtools.common.util.Entry<SshPublicKey>
com.sshtools.common.publickey.authorized.PublicKeyEntry
-
Field Summary
Fields inherited from class com.sshtools.common.util.Entry
value -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConnectFrom(String remoteAddress) voidaddEnvironmentVariable(String name, String value) voidaddForwardTo(String forwardTo) voidaddPrincipal(String principal) booleancanConnectFrom(String remoteAddress) booleancanForwardTo(String hostname, int port) booleanvoidremoveConnectFrom(String remoteAddress) voidvoidremoveForwardTo(String forwardTo) voidremovePrincipal(String principal) booleanvoidsetCommand(String command) booleanbooleanbooleanprotected booleansupportsRestrictedOption(Option<?> option) booleanbooleanMethods inherited from class com.sshtools.common.util.Entry
getValue
-
Method Details
-
addEnvironmentVariable
-
removeEnvironmentVariable
-
getFormattedEntry
- Specified by:
getFormattedEntryin classcom.sshtools.common.util.Entry<SshPublicKey>- Throws:
IOException
-
supportsRestrictedOption
-
supportsPty
public boolean supportsPty() -
supportsPortForwarding
public boolean supportsPortForwarding() -
supportsAgentForwarding
public boolean supportsAgentForwarding() -
supportsUserRc
public boolean supportsUserRc() -
supportsX11Forwarding
public boolean supportsX11Forwarding() -
isCertAuthority
public boolean isCertAuthority() -
requiresCommandExecution
public boolean requiresCommandExecution() -
getCommand
-
setCommand
-
addConnectFrom
-
removeConnectFrom
-
canConnectFrom
- Throws:
IOException
-
addForwardTo
-
removeForwardTo
-
canForwardTo
-
getPrincipals
-
addPrincipal
-
removePrincipal
-