known_hosts file
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private KnownHostHashValue | |
| private AuthorizedKeyEntry | |
| private String | |
| private String | |
| public static final char | MARKER_INDICATOR
Character that denotes that start of a marker |
| public static final String | STD_HOSTS_FILENAME
Standard OpenSSH config file name |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public static Path | |
| public KnownHostHashValue | |
| public AuthorizedKeyEntry | |
| public String | |
| public boolean | isHostMatch(String
The host name / address - ignored if host, int null/emptyThe connection port port)Overrides org. Checks if a given host name / address matches the entry's host pattern(s) |
| public static KnownHostEntry | |
| public static <E extends KnownHostEntry> E | |
| public static List | |
| public static List | |
| public static List | |
| public static List | |
| public static List | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String |
| hashedEntry | back to summary |
|---|---|
| private KnownHostHashValue hashedEntry | |
| keyEntry | back to summary |
|---|---|
| private AuthorizedKeyEntry keyEntry | |
| line | back to summary |
|---|---|
| private String line | |
| marker | back to summary |
|---|---|
| private String marker | |
| MARKER_INDICATOR | back to summary |
|---|---|
| public static final char MARKER_INDICATOR Character that denotes that start of a marker | |
| STD_HOSTS_FILENAME | back to summary |
|---|---|
| public static final String STD_HOSTS_FILENAME Standard OpenSSH config file name | |
| KnownHostEntry | back to summary |
|---|---|
| public KnownHostEntry() | |
| KnownHostEntry | back to summary |
|---|---|
public KnownHostEntry(String line)
| |
| getConfigLine | back to summary |
|---|---|
public String getConfigLine()
| |
| getDefaultKnownHostsFile | back to summary |
|---|---|
public static Path getDefaultKnownHostsFile()
| |
| getHashedEntry | back to summary |
|---|---|
| public KnownHostHashValue getHashedEntry() | |
| getKeyEntry | back to summary |
|---|---|
| public AuthorizedKeyEntry getKeyEntry() | |
| getMarker | back to summary |
|---|---|
| public String getMarker() | |
| isHostMatch | back to summary |
|---|---|
| public boolean isHostMatch(String host, int port) Overrides org. Doc from org. Checks if a given host name / address matches the entry's host pattern(s) | |
| parseKnownHostEntry | back to summary |
|---|---|
| public static KnownHostEntry parseKnownHostEntry(String line) | |
| parseKnownHostEntry | back to summary |
|---|---|
| public static <E extends KnownHostEntry> E parseKnownHostEntry(E entry, String data) | |
| readKnownHostEntries | back to summary |
|---|---|
| public static List | |
| readKnownHostEntries | back to summary |
|---|---|
| public static List | |
| readKnownHostEntries | back to summary |
|---|---|
| public static List | |
| readKnownHostEntries | back to summary |
|---|---|
| public static List | |
| readKnownHostEntries | back to summary |
|---|---|
| public static List Reads configuration entries
| |
| setConfigLine | back to summary |
|---|---|
| public void setConfigLine(String line) | |
| setHashedEntry | back to summary |
|---|---|
| public void setHashedEntry(KnownHostHashValue hashedEntry) | |
| setKeyEntry | back to summary |
|---|---|
| public void setKeyEntry(AuthorizedKeyEntry keyEntry) | |
| setMarker | back to summary |
|---|---|
| public void setMarker(String marker) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| private static final Path |
| Access | Constructor and Description |
|---|---|
| private |
| HOSTS_FILE | back to summary |
|---|---|
| private static final Path HOSTS_FILE | |
| LazyDefaultConfigFileHolder | back to summary |
|---|---|
| private LazyDefaultConfigFileHolder() | |