cachecloud应用部署异常

1、cachecloud应用审批完成以后没反应

image
这里已经审批处理了,但是没有显示通过按钮。
目前的cachecloud使用的是以前老版本。

2、后台查看日志

错误日志如下:
image

3、分析

上述异常通过查询资料说是新的ssh服务器不支持旧ssh版本所支持的算法。
目前cachecloud所使用的ganymed-ssh2版本还是17年之前的,那么也就是说明该ssh版本比较老,查看集群的ssh版本:
image
集群ssh版本为最新版本。
查看ssh当前支持的算法:
image

4、解决办法

修改/etc/ssh/sshd_config,在文件最后添加:

kexalgorithms curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group14-sha1,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521

重启sshd服务

systemctl restart sshd

查看现在支持的算法
image

借鉴
https://www.cnblogs.com/sprinng/p/5504903.html

posted @ 2021-07-02 13:31  北漂-boy  阅读(153)  评论(0编辑  收藏  举报