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 Details

  • Method Details

    • getSshUriProperties

      public MultipleJGitEnvironmentProperties getSshUriProperties()
    • configure

      public void configure(org.eclipse.jgit.transport.Transport transport)
      Specified by:
      configure in interface org.eclipse.jgit.api.TransportConfigCallback