Class FileBasedSshTransportConfigCallback
- java.lang.Object
-
- org.springframework.cloud.config.server.ssh.FileBasedSshTransportConfigCallback
-
- All Implemented Interfaces:
org.eclipse.jgit.api.TransportConfigCallback
public class FileBasedSshTransportConfigCallback extends Object implements org.eclipse.jgit.api.TransportConfigCallback
Configure JGit transport command to use a default SSH session factory based on local machines SSH config. Allow strict host key checking to be set.- Author:
- Dylan Roberts
-
-
Constructor Summary
Constructors Constructor Description FileBasedSshTransportConfigCallback(MultipleJGitEnvironmentProperties sshUriProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(org.eclipse.jgit.transport.Transport transport)MultipleJGitEnvironmentPropertiesgetSshUriProperties()
-
-
-
Constructor Detail
-
FileBasedSshTransportConfigCallback
public FileBasedSshTransportConfigCallback(MultipleJGitEnvironmentProperties sshUriProperties)
-
-
Method Detail
-
getSshUriProperties
public MultipleJGitEnvironmentProperties getSshUriProperties()
-
configure
public void configure(org.eclipse.jgit.transport.Transport transport)
- Specified by:
configurein interfaceorg.eclipse.jgit.api.TransportConfigCallback
-
-