spring cloud config ssh connection failing
问题 Using Spring Boot, Java 1.8, cloud-config-server I'm trying to access a git repo using this application.yml snippet. But is failing to find the hostkey. spring: cloud: config: allowOverride: true failFast: true overrideNone: true overrideSystemProperties: false server: git: uri: ssh://git@10.4.31.179:7999/project/name.git And the address is in my knowHosts file: 10.4.31.179:7999,10.4.31.179 ssh-rsa