spring cloud config server SSH配置 git private key方式

spring:
  cloud:
    config:
      server:
        git:
          uri: git@github.myserver.example.com:my-team/config-properties-demo.git
          user: someone
          private_key_file: /path/to/private_key
          strictHostKeyChecking: false
原文地址:https://www.cnblogs.com/xielei/p/10452855.html