ssh/scp:ssh_exchange_identification:Connection closed by remote host的问题
ssh/scp:ssh_exchange_identification:Connection closed by remote host的问题
ssh/scp:ssh_exchange_identification:Connection closed by remote host的问题
使用ssh/scp时,出现下列问题:
Java代码
ssh_exchange_identification: Connection closed by remote host
解决办法: www.2cto.com
修改/etc/hosts.allow文件,加入 sshd:ALL,然后重启sshd服务.
修改/etc/hosts.deny, 将 ALL: ALL 注释掉.
评论暂时关闭