[SSH error] ssh_exchange_identification: read: Connection reset by peer

When logging in remotely, the following error occurred in ssh [email protected]

ssh_exchange_identification: read: Connection reset by peer

Solution: Log in to the remote server to change the configuration file and add

[[email protected] ~]# vi /etc/ hosts.allow
########################

##Allow all ip hosts to be able to connect to this machine·
sshd: ALL 

[[email protected] ~]# systemctl restart sshd


Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *