Git SSH configuration using properties

By default, Spring Cloud Config Server uses SSH configuration files such
as ~/.ssh/known_hosts and /etc/ssh/ssh_config when connecting to Git repositories
using an SSH URI. In cloud environments such as Cloud Foundry,
the local filesystem may be ephemeral or not easily accessible.

 For cases such as these, SSH configuration can be set using Java properties.
 In order to activate property based SSH configuration,
the property spring.cloud.config.server.git.ignoreLocalSshSettings must be set to true
This commit is contained in:
Ollie Hughes
2017-07-06 16:21:09 +01:00
parent d56926eba6
commit acee8a1b10
18 changed files with 1513 additions and 63 deletions

View File

@@ -6,8 +6,10 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config</artifactId>
<version>1.3.2.BUILD-SNAPSHOT</version>
<version>1.4.0.BUILD-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<packaging>pom</packaging>
<name>Spring Cloud Config Docs</name>
<description>Spring Cloud Docs</description>