spring cloud config server端配置私有git仓库异常,不支持ssh协议?

新手上路,请多包涵

我的配置文件application.yml:
spring:
application:

name: ConfigServer

cloud:

config:
  server:
    git:
      uri: ssh://git@172.16.87.101:config-server.git

项目启动正常,但通过http://localhost:8080/abc-application.properties访问时报错,提示org.eclipse.jgit.errors.NotSupportedException: URI not supported: ssh:///git@172.16.87.101:config-server.git/;如果是github上的git仓库就没问题,是不支持ssh协议吗?

阅读 4.9k
2 个回答
推荐问题