解决ssh_exchange_identification:read connection reset by peer

解决方法:

vi /etc/hosts.allow

追加:

sshd: ALL

重启ssh就ok了

service sshd restart

另,

Archlinux或者manjaro开启ssh服务命令

systemctl enable sshd.service 开机启动

systemctl start sshd.service 立即启动

systemctl restart sshd.service 立即重启

作者:dc0012
链接:https://www.jianshu.com/p/3f72869abdee
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

发表评论

邮箱地址不会被公开。