Class JGitSshConfig
java.lang.Object
org.eclipse.jgit.internal.transport.sshd.JGitSshConfig
- All Implemented Interfaces:
org.apache.sshd.client.config.hosts.HostConfigEntryResolver
public class JGitSshConfig
extends Object
implements org.apache.sshd.client.config.hosts.HostConfigEntryResolver
A bridge between a JGit
SshConfigStore and the Apache MINA sshd
HostConfigEntryResolver.-
Field Summary
FieldsFields inherited from interface org.apache.sshd.client.config.hosts.HostConfigEntryResolver
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionJGitSshConfig(SshConfigStore store) Creates a newJGitSshConfigthat will read the config from the givenSshConfigStore. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.sshd.client.config.hosts.HostConfigEntryresolveEffectiveHost(String host, int port, SocketAddress localAddress, String username, String proxyJump, org.apache.sshd.common.AttributeRepository attributes)
-
Field Details
-
configFile
-
-
Constructor Details
-
JGitSshConfig
Creates a newJGitSshConfigthat will read the config from the givenSshConfigStore.- Parameters:
store- to use
-
-
Method Details
-
resolveEffectiveHost
public org.apache.sshd.client.config.hosts.HostConfigEntry resolveEffectiveHost(String host, int port, SocketAddress localAddress, String username, String proxyJump, org.apache.sshd.common.AttributeRepository attributes) throws IOException - Specified by:
resolveEffectiveHostin interfaceorg.apache.sshd.client.config.hosts.HostConfigEntryResolver- Throws:
IOException
-