SSH issues: Read from socket failed: Connection reset by peer
- by nitins
I compiled OpenSSH_6.6p1 on one of our server. I am able login via SSH to the upgraded server. But I am not able to connect to other servers running OpenSSH_6.6p1 or OpenSSH_5.8 from this. While connecting I am getting an error as below.
Read from socket failed: Connection reset by peer
On the destination server in the logs, I am seeing it as below.
sshd: fatal: Read from socket failed: Connection reset by peer [preauth]
I tried specifying the cipher_spec [ ssh -c aes128-ctr destination-server ] as mentioned in here and was able to connect. How can configure ssh to use the cipher by default? Why is the cipher required here?