| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final boolean | |
| public static final String | EXCLUSIVE_IDENTITIES_CONFIG_PROP
Use only the identities specified in the host entry (if any) |
| protected Boolean | |
| public static final NavigableSet | EXPLICIT_PROPERTIES
A case insensitive |
| protected String | |
| public static final String | |
| public static final String | |
| protected String | |
| protected final Collection | |
| public static final String | IDENTITY_AGENT
The IdentityAgent configuration. |
| public static final String | |
| public static final char | |
| public static final char | |
| public static final char | |
| public static final String | |
| public static final String | |
| public static final char | |
| protected int | |
| public static final String | |
| protected final Map | |
| public static final String | |
| protected String | |
| public static final char | |
| public static final char | |
| public static final char | |
| public static final String | STD_CONFIG_FILENAME
Standard OpenSSH config file name |
| public static final String | |
| protected String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public <A extends Appendable> A | |
| public static <A extends Appendable> A | |
| public static < The A extends Appendable> AAppendable type | Returns: The target appender after having appended (or not) the valueThe target appender sb, String The property name - never name, int null/emptyThe port value - ignored if non-positive port)
|
| public static < The A extends Appendable> AAppendable type | Returns: The target appender after having appended (or not) the valueThe target appender sb, Map<String, ?> The props)Map of properties - ignored if null/emptyAppends the extra properties - while skipping the |
| public static < The A extends Appendable> AAppendable type | Returns: The target appender after having appended (or not) the valueThe target appender sb, String The property name - never name, Object null/emptyThe property value - ignored if value)nullNote if the string representation of the value contains any commas, they are assumed to indicate a multi-valued property which is broken down to individual lines - one per value.
|
| public static < The A extends Appendable> AAppendable type | Returns: The target appender after having appended (or not) the valueThe target appender sb, String The property name - never name, Object... null/emptyThe values to be added - one per line - ignored if values)null/empty
|
| public static < The A extends Appendable> AAppendable type | Returns: The target appender after having appended (or not) the valueThe target appender sb, String The property name - never name, Collection<?> null/emptyThe values to be added - one per line - ignored if values)null/empty
|
| public String | Returns: The value before appending -null if no previous valueProperty name - never name, String null/emptyThe value to be appended - ignored if value)null/emptyAppends a value using a comma to an existing one. |
| public void | |
| public static List | Returns: AList of all the matching entriesThe host name / address - ignored if host, HostConfigEntry... null/emptyThe entries)HostConfigEntry-ies to scan - ignored if null/emptyLocates all the matching entries for a give host name / address |
| public static List | Returns: AList of all the matching entriesThe host name / address - ignored if host, Collection<? extends HostConfigEntry> null/emptyThe entries)HostConfigEntry-ies to scan - ignored if null/emptyLocates all the matching entries for a give host name / address |
| public static Path | Returns: The defaultPath location of the OpenSSH hosts entries configuration file
|
| public String | |
| public String | |
| public Collection | |
| public int | |
| public Map | Returns: AMap of extra properties that have been read - may be null/empty, or even contain some
values that have been parsed and set as members of the entry (e.g., host, port, etc.)Note multi-valued keys use a comma-separated list of values
|
| public String | Returns: Property value ornull if no such propertyProperty name - never name)null/empty
|
| public String | Returns: The property value or the default one if no such propertyProperty name - never name, String null/emptyDefault value to return if no such property defaultValue)
|
| public String | |
| public String | Returns: A username override - if notnull/emptyImplements org.
|
| public boolean | |
| public static List | Returns: AList of the encountered valuesThe value - ignored if value)null/empty (after trimming)Checks if this is a multi-value - allow space and comma |
| public void | processProperty(String
Property name - never name, Collection<String> null/emptyThe available values for the property valsList)
|
| public static List | |
| public static List | |
| public static List | |
| public static List | |
| public static List | |
| public String | Returns: The removed property value -null if no such property nameProperty name - never name)null/empty
|
| public static String | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setProperties(Map<String, String>
The properties to set - if properties)null then an empty map is effectively setNote it is highly recommended to use a case insensitive key mapper.
|
| public String | Returns: The previous property value -null if no such nameProperty name - never name, String null/emptyProperty value - if value)null/empty then removeProperty(String) is calledSets / Replaces the property value |
| public void | |
| public void | |
| public static HostConfigEntryResolver | Returns: AHostConfigEntryResolver wrapper using the entriesThe entries - ignored if entries)null/empty
|
| public String | |
| public static void | writeHostConfigEntries(Path path, Collection<? extends HostConfigEntry> entries, OpenOption... options)
|
| public static void | writeHostConfigEntries(OutputStream outputStream, boolean okToClose, Collection<? extends HostConfigEntry> entries)
|