SpringCloudConfig使用ssh方式连接GitHub报错JSchException: Auth fail
在练习SpringCloudConfig配置中心时,访问git上的配置文件,会出现报错 JSchException: Auth fail,无论使用本地的ssh配置,还是在application.yml中配置private-key都会报错,经过各种尝试最终发现使用这种方式生成的rsa-key,并配置到github上后问题解决ssh-keygen -m PEM -t rsa -b 4096...
原创
2020-03-23 10:11:28 ·
3846 阅读 ·
1 评论