用ssh登录,使用scp命令远程拷贝的时候报错
ssh_exchange_identification: read: Connection reset by peer
还有另外一种提示信息的错误,没记住,也是ssh_exchange_identification的。
通过修改目标主机/etc/hosts.allow文件,允许当前主机访问,例如 sshd:当前主机地址:allow ,也可以把地址写成网段,如192.168.0.0/22。
用ssh登录,使用scp命令远程拷贝的时候报错
ssh_exchange_identification: read: Connection reset by peer
还有另外一种提示信息的错误,没记住,也是ssh_exchange_identification的。
通过修改目标主机/etc/hosts.allow文件,允许当前主机访问,例如 sshd:当前主机地址:allow ,也可以把地址写成网段,如192.168.0.0/22。