【proxychains rsync scp ssh】kex_exchange_identification: Connection closed by remote host

问题描述:
在使用proxychains+ rsync/ scp/ ssh等命令时候,命令行给出了如下错误:

kex_exchange_identification: Connection closed by remote host
即,秘钥交换错误。

解决:
开启服务器系统防火墙
Redhat6/centos6:service iptables start
Redhat7/centos7:systemctl start firewalld
Ubuntu:sudo ufw enable

PS:网上一些无效方法:

  1. 删除ssh连接记录
  2. 修改最大连接数
  3. 关闭代理

refhttps://github.com/rofl0r/proxychains-ng/issues/319

你可能感兴趣的:(报错,ssh,运维)