Friday, June 21, 2013
Ubuntu | git | ssh| Read from socket failed: Connection reset by peer fatal | Resolved
I didn't get to the root cause. My best finding is that the connection packets are too big for the server to handle, and the connection is reset.
Workarounds: limit the packet size. Two alternatives:
Limit cipher list length by using '-c ' in the ssh command line, e.g. '-c aes256-ctr'
OR YOU HAVE TO ADD FOLLOWING TO at the end of file ~/.ssh/config or in ubuntu sudo vim /etc/ssh/ssh_config
1. Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
2. HostKeyAlgorithms ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-dss
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment