您的位置:首页 > 其它

ssh/scp:ssh_exchange_identification:Connection closed by remote host的问题

2015-04-29 12:04 666 查看
ssh/scp:ssh_exchange_identification:Connection closed by remote host的问题

使用ssh/scp时,出现下列问题:

Java代码

ssh_exchange_identification: Connection closed by remote host

解决办法:

修改/etc/hosts.allow文件,加入 sshd:ALL,然后重启sshd服务.

修改/etc/hosts.deny,
将 ALL: ALL 注释掉.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: