The server changed the password. After trying the password for many times, it appears:
ssh_exchange_identification: read: Connection reset by peer
You can view the connection details through SSH – V
OpenSSH_6.6.1, OpenSSL 1.0.1k-fips 8 Jan 2015 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 56: Applying options for * debug1: Connecting to xxx [xx] port 22. debug1: Connection established. debug1: identity file /home/yanue/.ssh/id_rsa type -1 debug1: identity file /home/yanue/.ssh/id_rsa-cert type -1 debug1: identity file /home/yanue/.ssh/id_dsa type -1 debug1: identity file /home/yanue/.ssh/id_dsa-cert type -1 debug1: identity file /home/yanue/.ssh/id_ecdsa type -1 debug1: identity file /home/yanue/.ssh/id_ecdsa-cert type -1 debug1: identity file /home/yanue/.ssh/id_ed25519 type -1 debug1: identity file /home/yanue/.ssh/id_ed25519-cert type -1 ........
Finally, find the solution:
vi /etc/hosts.allow
Add:
sshd: ALL
Restart SSH and it’s OK
service sshd restart
Similar Posts:
- Git Connect Error: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
- Mac Error: Connection to `ssl://pecl.php.net:443′ failed [How to Solve]
- [Solved] Etcd cluster startup error: k8s-master01 systemd: Failed to start Etcd Service.
- RSA modulus too small: 512 < minimum 768 bits
- [Solved] SSH is disconnected as soon as it is connected
- Error 77 when solving PHP curl HTTPS
- Nginx 400 Bad Request | The plain HTTP request was sent to HTTPS port
- An error is reported when starting sshd in the docker container
- sshd Start Report Error: sshd re-exec requires execution with an absolute path
- [Solved] Permission denied (public key) appears during GitHub access