Spring cloud Spring云配置-远程意外挂起
我正在尝试使用ssh密钥连接到私有gitlab自托管服务。 以下是yaml配置Spring cloud Spring云配置-远程意外挂起,spring-cloud,spring-cloud-config,Spring Cloud,Spring Cloud Config,我正在尝试使用ssh密钥连接到私有gitlab自托管服务。 以下是yaml配置 spring: cloud: config: server: git: uri: git@gitlab.devops.mhealth.tech:shivhg/config_src.git ignoreLocalSshSettings: true host-key: shiva.kumar@mhealth.tech
spring:
cloud:
config:
server:
git:
uri: git@gitlab.devops.mhealth.tech:shivhg/config_src.git
ignoreLocalSshSettings: true
host-key: shiva.kumar@mhealth.tech
strictHostKeyChecking: false
hostKey: someHostKey
hostKeyAlgorithm: ssh-rsa
privateKey: |
还尝试了.ssh/config更新
StrictHostKeyChecking no
PreferredAuthentications publickey
IdentitiesOnly yes
IdentityFile ~/.ssh/***private
ServerAliveInterval 60
ServerAliveCountMax 5
收到与#1447完全相同的错误后,也尝试了那里提供的建议。
在intellij中尝试过,也在iterm控制台中尝试过
一些解决此问题的建议会很有帮助,请提前感谢您能附上完整的错误跟踪吗?关于“1447”,你能提供一个链接吗?此外,错误跟踪在下面的链接@andrewregan中。Spring代码希望您的
hostKey
是Base64编码的。它是?你的问题不清楚。链接:您可以附加完整的错误跟踪吗?关于“1447”,你能提供一个链接吗?此外,错误跟踪在下面的链接@andrewregan中。Spring代码希望您的hostKey
是Base64编码的。它是?你的问题不清楚。链接: