public class PublicKeyEntry extends Entry<SshPublicKey>
Modifier and Type | Method and Description |
---|---|
void |
addConnectFrom(String remoteAddress) |
void |
addEnvironmentVariable(String name,
String value) |
void |
addForwardTo(String forwardTo) |
void |
addPrincipal(String principal) |
boolean |
canConnectFrom(String remoteAddress) |
boolean |
canForwardTo(String hostname,
int port) |
String |
getCommand() |
String |
getFormattedEntry() |
Collection<String> |
getPrincipals() |
boolean |
isCertAuthority() |
void |
removeConnectFrom(String remoteAddress) |
void |
removeEnvironmentVariable(String name) |
void |
removeForwardTo(String forwardTo) |
void |
removePrincipal(String principal) |
boolean |
requiresCommandExecution() |
void |
setCommand(String command) |
boolean |
supportsAgentForwarding() |
boolean |
supportsPortForwarding() |
boolean |
supportsPty() |
protected boolean |
supportsRestrictedOption(Option<?> option) |
boolean |
supportsUserRc() |
boolean |
supportsX11Forwarding() |
public void removeEnvironmentVariable(String name)
public String getFormattedEntry() throws IOException
getFormattedEntry
in class Entry<SshPublicKey>
IOException
protected boolean supportsRestrictedOption(Option<?> option)
public boolean supportsPty()
public boolean supportsPortForwarding()
public boolean supportsAgentForwarding()
public boolean supportsUserRc()
public boolean supportsX11Forwarding()
public boolean isCertAuthority()
public boolean requiresCommandExecution()
public String getCommand()
public void setCommand(String command)
public void addConnectFrom(String remoteAddress)
public void removeConnectFrom(String remoteAddress)
public boolean canConnectFrom(String remoteAddress)
public void addForwardTo(String forwardTo)
public void removeForwardTo(String forwardTo)
public boolean canForwardTo(String hostname, int port)
public Collection<String> getPrincipals()
public void addPrincipal(String principal)
public void removePrincipal(String principal)
Copyright © 2024. All rights reserved.