public class JGitSshConfig extends Object implements org.apache.sshd.client.config.hosts.HostConfigEntryResolver
SshConfigStore
and the Apache MINA sshd
HostConfigEntryResolver
.Constructor and Description |
---|
JGitSshConfig(SshConfigStore store)
Creates a new
JGitSshConfig that will read the config from the
given SshConfigStore . |
Modifier and Type | Method and Description |
---|---|
org.apache.sshd.client.config.hosts.HostConfigEntry |
resolveEffectiveHost(String host,
int port,
SocketAddress localAddress,
String username,
org.apache.sshd.common.AttributeRepository attributes) |
public JGitSshConfig(SshConfigStore store)
JGitSshConfig
that will read the config from the
given SshConfigStore
.store
- to usepublic org.apache.sshd.client.config.hosts.HostConfigEntry resolveEffectiveHost(String host, int port, SocketAddress localAddress, String username, org.apache.sshd.common.AttributeRepository attributes) throws IOException
resolveEffectiveHost
in interface org.apache.sshd.client.config.hosts.HostConfigEntryResolver
IOException
Copyright © 2020 Eclipse JGit Project. All rights reserved.