Package org.eclipse.jgit.transport
Interface SshConfigStore
- All Known Implementing Classes:
OpenSshConfigFile
public interface SshConfigStore
An abstraction for a SSH config storage, like the OpenSSH ~/.ssh/config file.
- Since:
- 5.8
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
A host entry from the ssh config. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SshConfigStore.HostConfig
An emptySshConfigStore.HostConfig
. -
Method Summary
Modifier and TypeMethodDescriptionLocate the configuration for a specific host request.
-
Field Details
-
EMPTY_CONFIG
An emptySshConfigStore.HostConfig
.
-
-
Method Details
-
lookup
Locate the configuration for a specific host request.- Parameters:
hostName
- to look upport
- the user supplied; invalid input: '<'= 0 if noneuserName
- the user supplied, may benull
or empty if none given- Returns:
- the configuration for the requested name.
-