其他分享
首页 > 其他分享> > ssh报错

ssh报错

作者:互联网

ssh 报错:

问题1:ssh_exchange_identification: read: Connection reset by peer

三种原因:

1.本地网络问题

2.网络链接被拦截

3.实例内部设置了ssh黑白名单 

问题2:Linux上的SSH无法启动,报告/var/empty/sshd must be owned by root and not group or world-writable

一种是所属者以及所属组不对

也有可能是/var/empty/sshd的权限不对,正常是711

 

参考文档:

https://help.aliyun.com/document_detail/41485.html#:~:text=SSH%E7%99%BB%E5%BD%95ECS%E5%AE%9E%E4%BE%8B%E6%8F%90%E7%A4%BA%E2%80%9Cssh_exchange_identification%3A%20read%3A%20Connection%20reset%20by%20peer%E2%80%9D%E9%94%99%E8%AF%AF%201%20%E7%BC%96%E8%BE%91TCP,Wrapper%E7%9A%84%E6%96%87%E4%BB%B6%EF%BC%9A%20Linux%E7%B3%BB%E7%BB%9F%E9%80%9A%E8%BF%87%E8%AE%BE%E7%BD%AE%20%2Fetc%2Fhosts.allow%E6%88%96%2Fetc%2Fhosts.deny%E6%96%87%E4%BB%B6%EF%BC%8C%E5%90%AF%E7%94%A8%E4%BA%86TCP%20Wrapper%E8%AE%BF%E9%97%AE%E6%8E%A7%E5%88%B6%EF%BC%8C%E7%A6%81%E6%AD%A2%E6%82%A8%E9%80%9A%E8%BF%87SSH%E7%99%BB%E5%BD%95%E3%80%82%202%20%E8%BF%9E%E6%8E%A5%E8%A2%AB%E4%BA%91%E7%9B%BE%E6%8B%A6%E6%88%AA%E3%80%82%203%20%E6%9C%AC%E5%9C%B0%E7%BD%91%E7%BB%9C%E9%97%AE%E9%A2%98%E3%80%82

 

https://blog.csdn.net/u013319480/article/details/51996286

标签:E8%,E5%,BB%,E6%,E7%,报错,ssh,80%
来源: https://www.cnblogs.com/moutain94/p/16664744.html