糖尿病康复,内容丰富有趣,生活中的好帮手!
糖尿病康复 > ssh_exchange_identification: Connection closed by remote hos

ssh_exchange_identification: Connection closed by remote hos

时间:2021-06-04 15:58:54

相关推荐

ssh_exchange_identification: Connection closed by remote hos

ssh访问某机器时,会得到以下错误信息:

[root@stormnimbus opt]# ssh hregion92

ssh_exchange_identification: Connection closed by remote host

得到以上错误提示,是因为要远程ssh访问的机器限制你的ssh访问。

解决方法:

修改/etc/hosts.allow文件,将你要ssh访问的机器ip添加进去,比如:

sshd:192.168.60.151,192.168.70.92

如果觉得《ssh_exchange_identification: Connection closed by remote hos》对你有帮助,请点赞、收藏,并留下你的观点哦!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。