【SSH错误】ssh_exchange_identification: read: Connection reset by peer

When you log in, ssh root @ xxxxxxxxx there are mistakes

ssh_exchange_identification: read: Connection reset by peer

Solution: Go to a remote server to change the configuration file, add

[the root @ localhost ~] # VI / etc / the hosts.allow 
######################### 

## can allow all hosts connected to the machine ip · 
sshd: ALL 

[root @ localhost ~] # systemctl restart sshd

 

Guess you like

Origin www.cnblogs.com/756623607-zhang/p/11877444.html