​原文地址连接​

GP数据库在执行gpssh-key_centos

这个问题提示是无法兼容kex的算法

该问题是由于centos6.7以上的ssh屏蔽了不安全算法

再次我们在/etc/sshd/sshd_config这里面最后一行配置

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

保存退出

重启sshd即可