Incompatible ssh peer (no acceptable kex algorithm)
2016-08-09 17:00
567 查看
安装greenplum数据库进行交换密码时输入root的密码一直不成功,后
用 gpssh-exkeys -f hostfile_exkeys 命令结果如下:
[STEP 1 of 5] create local ID and authorize on local host
… /root/.ssh/id_rsa file exists … key generation skipped
[STEP 2 of 5] keyscan all hosts and update known_hosts file
[STEP 3 of 5] authorize current user on remote hosts
… send to sdw1
Enter password for sdw1:
[ERROR sdw1] Incompatible ssh peer (no acceptable kex algorithm)
这是由于ssh 6.7以上屏蔽不安全算法,在/etc/ssh/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
重启ssh服务,问题解决。
参考:http://blog.csdn.net/coder_xia/article/details/50382278
用 gpssh-exkeys -f hostfile_exkeys 命令结果如下:
[STEP 1 of 5] create local ID and authorize on local host
… /root/.ssh/id_rsa file exists … key generation skipped
[STEP 2 of 5] keyscan all hosts and update known_hosts file
[STEP 3 of 5] authorize current user on remote hosts
… send to sdw1
Enter password for sdw1:
[ERROR sdw1] Incompatible ssh peer (no acceptable kex algorithm)
这是由于ssh 6.7以上屏蔽不安全算法,在/etc/ssh/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
重启ssh服务,问题解决。
参考:http://blog.csdn.net/coder_xia/article/details/50382278
相关文章推荐
- SSHException: Incompatible ssh peer (no acceptable kex algorithm)
- FAIL : SSHException: Incompatible ssh peer (no acceptable kex algorithm)
- ssh登录报错:no common kex alg
- [Linux]远程SSH两级跳转用户sodu的问题--sudo: no tty present and no askpass program specified
- ssh首次远程登录不用输入yes|no
- ssh without no password
- java.security.NoSuchAlgorithmException: SHA1PRNG SecureRandom not available
- 网络请求No peer certificate
- java.security.NoSuchAlgorithmException: AES KeyGenerator not available
- linux ssh ssh_exchange_identification: read: Connection reset by peer
- ssh client 报 algorithm negotiation failed的解决方法之一
- 由chmod改系统文件权限引ssh登录报ssh_exchange_identification: read: Connection reset by peer无法登陆问题
- java.security.NoSuchAlgorithmException: Algorithm HmacSHA1 not available
- no acceptable C compiler found in $PATH的解决办法
- 错误:no acceptable C compiler found in $PATH
- Android QQ授权时 javax.net.ssl.SSLPeerUnverifiedException: No peer certificate
- No Algorithm found for: 30000000H - 300041EFH
- 解决:NoSuchAlgorithmException: Algorithm HmacSHA1 not available
- java.security.NoSuchAlgorithmException: No such algorithm: RSA/ECB/PKCS1Padding 问题解决