scp 命令报错“ssh_exchange_identification: Connection closed by remote host”
修改方法:
vi /etc/hosts.allow
sshd:ALL 然后重启 sshd service sshd restart 还有可能是sshd根本没有启,重启就可以了
scp 命令报错“ssh_exchange_identification: Connection closed by remote host”
修改方法:
vi /etc/hosts.allow
sshd:ALL 然后重启 sshd service sshd restart 还有可能是sshd根本没有启,重启就可以了