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
ConstructorsConstructorDescriptionFileBasedSshTransportConfigCallback(MultipleJGitEnvironmentProperties sshUriProperties) -
Method Summary
-
Constructor Details
-
FileBasedSshTransportConfigCallback
-
-
Method Details
-
getSshUriProperties
-
configure
public void configure(org.eclipse.jgit.transport.Transport transport) - Specified by:
configurein interfaceorg.eclipse.jgit.api.TransportConfigCallback
-