Focus on cloud service provider activities
Notes on website operation and maintenance

Resolve the SSH connection server "ssh_exchange_identification: read: Connection reset by peer" problem

When we log in to the ECS server, we see that we cannot log in and a prompt "ssh_exchange_identification: read: Connection reset by peer" appears.

 ssh_exchange_identification: read: Connection reset by peer. sshd[11949]: refused connect from 192.168.0.0 (192.168.0.0).

There may be settings for security/ The/etc/hosts.allow or/etc/hosts.deny file enables TCP Wrapper access control.

1. Check the/etc/hosts.allow and/etc/hosts.deny files

 all:all:deny

2. Edit Logout

 # all: all:deny

Then we'll try again.

This should be based on operation and maintenance and security settings. In fact, it is not necessary. We can set the key to connect to SSH.

Vote for you
Domain name host preferential information push QQ group: six hundred and twenty-seven million seven hundred and seventy-five thousand four hundred and seventy-seven Get preferential promotion from merchants.
Like( zero )
Do not reprint without permission: Lao Zuo's Notes » Resolve the SSH connection server "ssh_exchange_identification: read: Connection reset by peer" problem